sunny-green
sunny-green•13mo ago

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
raw-harlequin
raw-harlequin•13mo 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 then
national-gold
national-gold•13mo ago
Thank you so much for the insights @Alican Erdurmaz I’m so impressed with refine
raw-harlequin
raw-harlequin•13mo ago
I'm glad to hear that. We are open to all suggestions šŸ‘‹

Did you find this page helpful?