Skip to content
Michel Weststrate creator of Mobx and Immer Libraries for JavaScript episode artwork

Apr 3, 2018 27 min

Michel Weststrate creator of Mobx and Immer Libraries for JavaScript

from egghead.io developer chats Hosted by Joel Hooks

Joel interviews Michel Weststrate, author of Mobx and his new library, Immer. Today they get into the power of Immer, its early success on Github, common mistakes in state management, and what is next for Mobx. Immer is a light-weight, immutable state-management tool. Michel talks with Joel about some of its capabilities. Immer takes an object and a function and can track all the changes made to that object, it then gives you back the original object and a mutated copy. Immer can replace reducers, Michel calls them "producer" functions as they "produce" the new state. Joel then asks Michel "what makes state management so hard for people and are they overcomplicating it?" This question leads to Michel explaining that people don't think enough about the structure of their state enough up front. When you talk about state, there are three distinct concepts, values, references, and identities. However, people tend to only think of state purely as data. "You have to think about what is going to store it and what is going to reference it." Michel talks about how the mobx-state-tree fits into an application. Mobx is unopinionated; it doesn't tell you how to organize your stores. mobx-state-tree, however, is very explicit about the three concepts of state, values, references, and identities. With mobx-state-tree you organize your data into models and tell it how they relate to each other. It's all about consistently organizing your state! What's next for Mobx? Michel is currently working on some exciting features using proxies to make Mobx even more transparent than it is now. Michel has also been thinking about improving on asynchronous processes and how to leverage async actionables. Transcript "Michel Weststrate creator of Mobx and Immer Libraries for JavaScript" Transcript Resources Immer Mobx Mendix Michel Westrate Medium Twitter Github egghead.io Joel Hooks: Twitter Website

Episode details come from the podcast's RSS feed.

Embed this episode

Joel interviews Michel Weststrate, author of Mobx and his new library, Immer. Today they get into the power of Immer, its early success on Github, common mistakes in state management, and what is next for Mobx.

Ready to play

Michel Weststrate creator of Mobx and Immer Libraries for JavaScript

0:00 27:07

No transcript yet.

Requests help us decide what to transcribe next.

Evolving with Georgia May Georgia May Change is the only constant. Evolving explores the beauty and uncertainty of self-discovery. This podcast is a space for learning and unlearning, shedding old layers, leaping into transformation and embracing the unknown. There is no final destination. This show is for those who are committed to the lifelong journey of discovery; it's time to reinvent yourself, while simultaneously returning to who you’ve always been. Note: This podcast was previously known as Life Chats, where well-known and everyday individuals shared their real life stories, hosted by journalist Georgia May. Enjoy the catalogue of inspiring episodes! Double Dispatch Josh Hale A podcast made with passion from a Computer Scientist that wants to share what he's learning with the World 🌎 AND hear what the world says back! Listen as software developer Josh sends and receives knowledge learning more about the amazing things you can do with computers. Vitamii Avis Vitamii avis Vitamii.fr est une marque de suppléments pour chiens et chats. Retrouvez les avis clients et informations relatives à ce sujet dans ce podcast ! Chef’s Recipe Spotlight Chef Jessica Anne Formicola A short daily podcast featuring easy, approachable recipes for every home cook. Chef Jessica Anne Formicola of the Emmy-nominated Show Plate It!, cookbook author and Le Cordon Bleu Certified recipe developer, shares why the recipe is important to her and tips and tricks for preparing it. She follows her 5 S philosophy of using salt, spices, sauces, substitutions and the sense to create restaurant quality dishes in a home kitchen. See her work in Parade Magazine, Better Homes & Gardens, Mashed, tasting Table and The Daily Meal Food + Travel and more! Additionally, she is a mom and wife residing in Baltimore, Maryland where she is passionate about supporting the local food community.

Frequently asked questions

How long is this episode of egghead.io developer chats?

This episode is 27 minutes long.

When was this egghead.io developer chats episode published?

This episode was published on April 3, 2018.

Can I download this egghead.io developer chats episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.