pier25 2 days ago

So what stack are you using with React?

2
MartijnHols 2 days ago

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 1 day ago

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.