▲ | pier25 3 days ago | |
So what stack are you using with React? | ||
▲ | MartijnHols 2 days ago | parent | next [-] | |
Depends 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-rende... | ||
▲ | joquarky 2 days ago | parent | prev [-] | |
You 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. |