Michel Weststrate creator of Mobx and Immer Libraries for JavaScript

Michel Weststrate creator of Mobx and Immer Libraries for JavaScript

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

ResourcesMichel WestrateJoel Hooks:

Avsnitt(77)

Kent C. Dodds Chats About How Epic React was Designed for Learner Success

Kent C. Dodds Chats About How Epic React was Designed for Learner Success

Epic React is Kent's attempt at making the biggest impact on the world. It's Kent's philosophy that he can have a much larger impact by teaching other people to write excellent software instead of jus...

7 Okt 202047min

What is a Senior Engineer with Tomasz Łakomy

What is a Senior Engineer with Tomasz Łakomy

Tomasz highly recommends companies hire interns and train them  because you can get some amazing engineers that you know are going to fit the company's needs. Another great advantage of training inter...

8 Maj 202040min

How Shirley Wu Built A Career As A Freelance Data Visualizer

How Shirley Wu Built A Career As A Freelance Data Visualizer

Shirley Wu is a freelance data visualization expert. Data visualization, at its core, is when you take lots of data, and it's hard for you to look in Excel. You visualize that into some graph or chart...

13 Mars 202050min

How Courtland Allen Grew Indie Hackers with Content, Consistency, and Community

How Courtland Allen Grew Indie Hackers with Content, Consistency, and Community

"Indie Hacker" - An entrepreneur that is working to gain some form of independence.Courtland Allen is the founder of indiehackers.com. He didn't take the venture capital approach. He just wanted to ma...

28 Feb 202040min

Real Community Can't Be Faked With Rosie Sherry

Real Community Can't Be Faked With Rosie Sherry

Rosie Sherry is both an unschooling parent and the founder of the Ministry Of Testing. There's a disproportionate number of bootstrappers who homeschool their kids, and maybe it's for the same reason ...

7 Feb 202033min

Accessible Design Systems With Sarah Federman

Accessible Design Systems With Sarah Federman

Design systems are your component library, documentation, tools, et cetera. And then there are the operations of it. So like an agile team uses agile methodology, a design system is about making your ...

24 Jan 202026min

Segun Adebayo is the UX Engineer that built the Chakra UI design system

Segun Adebayo is the UX Engineer that built the Chakra UI design system

Segun Adebayo was turned off of web development after struggling with Wordpress' themes and plugins, and so he went straight into UI design entirely using Sketch and Figma for quite some time. It was ...

10 Jan 202028min

Turn a side project into a career with Nick DeJesus

Turn a side project into a career with Nick DeJesus

T7 Chicken was where it all began with Nick's journey into development. Nick had no development experience. Still, he wasn't satisfied with the websites and apps available for Tekken framerate data, s...

3 Jan 202037min

Populärt inom Business & ekonomi

framgangspodden
varvet
badfluence
rss-jossan-nina
rss-borsens-finest
avanzapodden
svd-tech-brief
rss-svart-marknad
uppgang-och-fall
fill-or-kill
rss-dagen-med-di
borsmorgon
kapitalet-en-podd-om-ekonomi
affarsvarlden
rss-kort-lang-analyspodden-fran-di
tabberaset
lastbilspodden
24fragor
bathina-en-podcast
borslunch-2