JavaScript Jabber cover image

React Server Components: Part 2- JSJ 583

JavaScript Jabber

CHAPTER

How to Handle Mutations in React Applications

This is a really common pattern I'm thinking back to if for folks like maybe I'm dating myself I think about like rails examples. Right so the root import that makes sense. Yeah so the component to render children the component doesn't need to know what what its children are I think is the basic thing that you're leveraging. But one thing that's kind of missing for me with it with this vision is how do I handle mutations? I mean with the unidirectional data flow I inclined site land I handle mutations by passing down functions that I can then call back up but I can't do that with server components yet. Okay so this is a part that we well I guess like

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner