3 ms·
So what stack are you using with React?
by pier25 2y ago
So what stack are you using with React?
- MartijnHols 2y agoDepends on the project. For websites I like to use a statically generated Nextjs site served by nginx[1] and for SPAs Nginx that serves a Vite-built static bundle with a backend that’s in whatever language the backend team chose. [1] https://martijnhols.nl/blog/how-much-traffic-can-a-pre-rendered-nextjs-site-handle#finding-a-replacement https://martijnhols.nl/blog/how-much-traffic-can-a-pre-rende...
- joquarky 2y agoYou didn't ask me, but I have what seems like an esoteric use for React: I only use React for the components, because vanilla/native web components are a major pain in the ass to work with. You don’t need to wrestle with React’s state management monster unless you’re into that sort of thing.