3 ms·
Can I write a React app and recompile it as a vanilla? For example to take all involved parts of the library and not take the rest.
by eimrine 3y ago
Can I write a React app and recompile it as a vanilla? For example to take all involved parts of the library and not take the rest.
- eropple 3y agoThat doesn't really parse. React as a thing is some pretty thin DOM manipulation and some helper stuff. Are you thinking of something like Next or some all-in React+Redux stack?
- recursive 3y agoAs misfortune would have it, I spent a significant fraction of the day reading the implementation of hooks for fibers. There's nothing light weight about virtual Dom, reconciliation, and micro task queues.
- willsmith72 3y agoYou mean a normal react build?
- wooly_bully 3y agoThis is what Svelte does, React has a runtime even when bundled
- llanowarelves 3y agoIs that like Astro?