nuno
SWC Support for SolidJS
but it seems a bit complicated because we have to run the babel on a js runtime from a rust runtime. So maybe parse the SWC AST to json and make js programs to run using node that converts that json SWC AST to Babel and transforms
30 replies
SWC Support for SolidJS
@Alex Lohr maybe a swc plugin on repo that get the jsx tranform plugin (babel) and compiles that to wasm and the swc can use it.
I think swc loads code to a SWC AST and passes that to the transformer to generate the output. because that AST is an object on rust runtime it not that easy to interop with wasm or other language, it may need to some binding to access that AST, but even with access to that AST is not the input the jsx plugin is expecting, Babel has other AST that may not be compatible with the SWC, so is not just the languages.
30 replies
Vitest support
sometimes I think solids templates and examples are to simply and when added other library it doesnt works as on the example>
I have tried many configurations on example and get all the time
"You appear to have multiple instances of Solid. This can lead to unexpected behavior.
computations created outside a
createRoot
or render
will never be disposed"
some imports on vitest are ___vite_ssr_importxxx. so not sure if some kind of ssr issue, I also dont ahve error when I inlcude <Suspense on my code, it seems like Effects is null14 replies