Reputation: 11
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
Upvotes: 1
Views: 327
Reputation: 1931
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
Upvotes: 1