alef-component icon indicating copy to clipboard operation
alef-component copied to clipboard

Tooling once AOT Compiler is Finished

Open shadowtime2000 opened this issue 4 years ago • 2 comments
trafficstars

This is just basically a list of tools that should be created once the compiler is finished.

Bundlers

There are enough bundlers that I am just going to say bundlers here, alef-loader for Webpack, rollup-plugin-alef, etc.

ESLint

Since all of the .alef components are just valid JS/JSX we could created an eslint-plugin-alef which has certain rules for stuff like refs props slots state etc.

deno_lint

I don't even know if deno_lint has plugin support but if it/once it does we could create a plugin for it.

Stylelint

Create a stylelint processor to allow linting of CSS

Babel

Basically just Babel in the precompile of the source

PostCSS

Basically just PostCSS in the precompile. For Deno compat probably use esm.sh.

IDE

A language server will be created, it will most likely be based off of deno lsp code.

Benchmarks

Both a RealWorld example (I don't know much about that) and benchmarks in the js-framework-benchmark, I think many people (including me) would like to see how this fares compared to Solid or Svelte.

shadowtime2000 avatar Dec 12 '20 19:12 shadowtime2000

@shadowtime2000 please check #5, we will support precompile that can preprocess $style: section.

ije avatar Dec 12 '20 20:12 ije

@shadowtime2000 and please mention we will provide a lsp to support IDE like vscode, i think this can be implemented using deno' lsp base code.

ije avatar Dec 12 '20 20:12 ije