Content
@
https://opensea.io/collection/dev-21
0 reply
0 recast
2 reactions
Alex Loukissas 🍉
@futureartist
Say you have a traditional react SPA with graphql. How would you go about out changing it to use RSC with nextjs?
1 reply
0 recast
0 reaction
alex
@alexgrover.eth
I’ve done this, we did it page by page using the next.js rewrites feature. Basically proxy the old app for every page and then you can add routes in the new app as you please. That said, don’t feel like you _need_ to use RSC for everything. There’s a time and a place for SEO and such but client side routing works just fine and feels faster for a lot of apps
1 reply
0 recast
1 reaction
Alex Loukissas 🍉
@futureartist
There are two routes that need the shell of the page to be SSR’ed, but have other very client side components (eg chat). Thanks I’ll look into the rewrites!
0 reply
0 recast
1 reaction