So if you want your team to go full
So if you want your team to go full refine for all new projects is it just best to go with Vite?
3 Replies
metropolitan-bronzeā¢6mo ago
It is debatable whether Vite or NextJS is better, but Vite is definitely easier.
Because:
Nextjs 14 App Router uses RSC (React server components) by default and we cannot use react state with RSC. Refine's data hooks and many other features are dependent on
React state
, so we don't use most of Refine's features with RSC for this reason.
Our example here is with nextjs 14 and app router. Authentication is done in RSC but data fetching is done from the client.
https://github.com/refinedev/refine/tree/master/examples/with-nextjs
I want to do the data fetching of this project in RSC in the coming weeks. hopefully it will be a better example thenlike-goldā¢6mo ago
Thank you so much for the insights @Alican Erdurmaz Iām so impressed with refine
metropolitan-bronzeā¢6mo ago
I'm glad to hear that. We are open to all suggestions š