'Can we setup client and server side rendering on same react app?
I would like to create a react app which should have both server and client side rendering so that we can take build accordingly using different npm commands
I've tried configuring but got issue as i had two package.json
Solution 1:[1]
If you want to be flexible with your rendering strategies, you can use Next.js as it let you choose how to render your page according to your needs :
Server-side rendering, Client-side rendering, and static-site generation. If you want to learn more about next.js rendering you can refer to the Next.js documentation
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Nacim Idjakirene |
