devtools.fm: Developer Tools, Open Source, Software Development cover image

Rich Harris - Svelte, Rollup

devtools.fm: Developer Tools, Open Source, Software Development

00:00

State Management in React

Svelt store is, in my mind, like the golden standard of doing state management. I feel like view over the years has had a very consistent story around state management. This library is tiny, tiny state management library called mutic. It's maybe 200 lines of source, maybe not even 97 lines of source. There's literally one file to this. You can understand it. Nine to seven. Yes, you can read it. And u just passitan initial state, or whatever, initial state of your store and that gives you this object that you can reference globally,. Like anywhere they want. But evidently it's also a really good way to make a really simple state management. The

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