4 ms·
By vanilla React I meant that I don't use the new Next.js / SSR stuff and instead build a JS file.
by lopatin 2y ago
By vanilla React I meant that I don't use the new Next.js / SSR stuff and instead build a JS file.
- MarcelOlsz 2y agoYeah I only realized that later :P
- floydnoel 2y agowhat do you use for routing? I built Routerino for just exactly this purpose, to use with vanilla React. maybe it'll be useful for you! https://www.npmjs.com/package/routerino https://www.npmjs.com/package/routerino
- lopatin 2y agoI actually use the history API. I've been thinking about modernizing by replacing it with React Router. I'll check out Routerino also.
- Atotalnoob 2y agoReact router is a nightmare. Lots of massive paradigm shifts with little backwards compatibility. I’ve gone through like 3-5 times where there is some massive changes between versions. Right now they are pushing some new routing mechanisms…