4 ms·
I think he means if you want to offer React server side you will need some-sort of web framework to serve it. Usually that's Express or Fastify or something lik
by jayflux 6y ago
I think he means if you want to offer React server side you will need some-sort of web framework to serve it. Usually that's Express or Fastify or something like that.
- makeee 6y agoNext.js does server-rendering and has API routes built-in. No need for Express or Fastify unless you like the DX of those frameworks better.
- jayflux 6y agoThe Parent parent was talking about if you don’t use Next and want a more sophisticated setup then then those are alternatives. The parent then asked why do you need to integrate [react] with Express and my answer was if you want to do server side (not using Next)
- randomchars 6y agoReact was not even mentioned in the thread. OP mentioned integration Next with Express, not React. Using Express and Next together is relatively common (or at least used to be): https://github.com/shdnx/next-express https://github.com/shdnx/next-express