Content
@
0 reply
0 recast
0 reaction
Colin
@colin
My thoughts after several weeks of working with NextJS 14 / app dir / RSCs: - bit of a learning curve (lots of stuff happens behind the scenes, eg there are various levels of caching on Vercel by default) - Jotai is much cleaner and easier than Redux - deduped fetching in RSCs is awesome and much better than getStaticProps - Suspense and loading states are great and make the app feel much more responsive - Lots more files, since we now need to separate client & server components on a per-file basis (and use folder-based routing) - Intercepting / parallel routes are neat Overall, I'm a big fan and it seems like a large improvement over the previous paradigm
3 replies
1 recast
16 reactions
nyc-crypto-cabal-kid
@zinger
You might also like Zustand (same crew at Jotai), a bit more similar to Redux vs. the atomic state model of Jotai (which models Meta's Recoil) https://docs.pmnd.rs/zustand/getting-started/comparison https://jotai.org/docs/basics/comparison
1 reply
0 recast
1 reaction
Danny
@ds
Nice write up. I agree it’s an improvement and harder to grok. Server actions are also a nice DX improvement (automatic serialization and routing) for certain use cases. I wish one could invalidate/refresh an individual server component!
1 reply
0 recast
1 reaction
Luisa Terner
@lu1
I'm impressed.
0 reply
0 recast
0 reaction