Closed devraj closed 1 year ago
Further to this, React's new documentation site suggests you choose a full stack framework and not use React directly as it does not prescribe how you handle things like routing
.
Two of recommendations are Next
and Remix
, these articles do a good job at comparing them:
For what it's worth we are closely aligned with Remix (as we use React Router), however we still handle many of the other things like header
management via other plugins.
This call for a serious review of the state of affairs and make a call on which way we should go, keeping in mind that this template is for building applications as opposed to web sites.
NextJS is quickly catching up to cater for all aspects of React development, e.g data caching via SWR, routings etc. This is a ticket that's left as a reminder to keep an eye out on the developments of NextJS.
The main concern here is that Next as a framework does many things that a collection of frameworks are achieving.
Note that Orval is a key part of any solution we are exploring (we should possibly think about contributing to the project).