Content
@
0 reply
0 recast
0 reaction
Colin
@colin
Began working on a /paragraph redesign and used that as an opportunity to begin using the NextJS app directory. Overall very positive experience: - eager to deprecate redux which contained a lot of complex, archaic state management logic; replacing it with fetches and regular TS at React component leaf nodes - RSCs are awesome - fetch (+ all the built-in caching) is awesome and much better than our huge getStaticProps which blocked the entire page - Suspense is awesome and improves UX (though, encountering a handful of bugs associated with it) - lack of opinionation is OK but leads to a bit of a learning curve (eg manage state via context? or URL params? or via an optional catch-all route?) - still a bit confused about certain next features (intercepting routes? "instant loading" vs regular suspense? etc) though I imagine I'd learn in time Also really enjoying shadcn
6 replies
2 recasts
40 reactions
dylan
@dylsteck.eth
cool update & curious to hear more as the redesign/switch to the app directory continues!
0 reply
1 recast
7 reactions
jtgi
@jtgi
Interested to hear more as you build things out. I ended up moving to Remix after finding next and RSCs added design burden in structuring and packaging code, specifically how to share server components. I found limitations like how you canโt add a single onClick handler to a server component super frustrating. Sometimes a single onClick handler would create a chain of refactors across packages. But I gave up after a couple months. I do love suspense and streaming and how much being able to put plain async calls in components cleans up and simplifies code. Hard to go back to client side fetching after re-experiencing that.
2 replies
0 recast
3 reactions
Zinger โ is job hunting
@zinger
I would recommend moving as much state to the URL as possible, it's best for server components and automatically enables better link sharing
1 reply
0 recast
2 reactions
stevec.base.eth
@stevec
About to start writing on there and excited/curious for what the future looks like. I used to love writing on Medium in the early days and at one time ran a big publication there
1 reply
0 recast
2 reactions
Ivy
@ivy
rsc's are severely underrated
0 reply
0 recast
0 reaction
rapha
@rapharrrr
I DM'd you but I guess it doesn't hurt to take MORE action. If you need an extra pair of hands I have plenty of experience with editors in Next.js (app router). Would love to show you my current project. I'm free for 30+ hours a week (free) if you're interested ๐ Sorry in advance but I'll repost here the video I posted on your other cast:
0 reply
0 recast
1 reaction