JavaScript Jabber cover image

React Server Components: Part 2- JSJ 583

JavaScript Jabber

00:00

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

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app