|
|
|
|
|
by eyelidlessness
1906 days ago
|
|
> Well JSX is not really just javascript/typescript Right that’s the DSL part. But TypeScript understands it out of the box, and you can write the same expressions without the DSL by calling the pragma function directly (which I’ll often do for some tooling code that needs to run without a build step). > But tools like svelte have their own DX improvements that make things like state management / reactivity arguably a lot easier than React. Part of the reason I mentioned JSX rather than React. There are great libraries with similar state and reactivity facilities that work with JSX (for example Solid). The cool thing about JSX is that it’s not tightly coupled to any particular implementation. |
|