(ab?)using Node module hooks to speed up development
I wanted a much faster way to develop the front-end of my site.
And I wanted to use JSX as the templating language but without React.
And I didn't want to be tied down to any one way of doing anything.
So I made a bunch of orthogonal stuff. Half evolved into module hooks.
One module loader transforms JSX to JS with the function you give it.
Now I can import and run JSX files natively in JSX.
Another remaps imports arbitrarily.
Now I can remap react/jsx-runtime to ./my-jsx-impl.js for experimenta...
Read more at immaculata.dev