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)

Personal Growth From Open-Source And Meetups With Monica Powell

Personal Growth From Open-Source And Meetups With Monica Powell

Monica Powell didn't have the most straightforward path to her first job as a developer. She took a couple of years of graphic design in college, took a computer science class, joined a student-led we...

19 Dec 201937min

Test Driven Accessibility with Erin Doyle

Test Driven Accessibility with Erin Doyle

At first, React looked like it might have been a fad, and JSX seemed weird. But, it didn't take long for people to see the power and beauty of it. React makes reuse easy, which makes accessibility a l...

17 Dec 201938min

Writing The Book On Data Visualization With Amelia Wattenberger

Writing The Book On Data Visualization With Amelia Wattenberger

D3.js is the defacto library that people use to create custom data visualizations on the web today. It's powerful and flexible. You can do whatever you want with it. However, that kind of power and fl...

11 Dec 201935min

Making A Fulfilling Career Out Of Multiple Interests With Hiro Nishimura

Making A Fulfilling Career Out Of Multiple Interests With Hiro Nishimura

Hiro started coding HTML and CSS back in middle school so she could make internet friends and talk about anime. She never thought of coding as anything more than a hobby, and she stopped when she bega...

1 Nov 201935min

Get Comfortable Learning On Your Own With Khalal Walker

Get Comfortable Learning On Your Own With Khalal Walker

Khalal's first language was Java, he learned his it in school. He didn't like coding in school because all they did was learn algorithms and data structures. How many people have completely turned awa...

11 Okt 201929min

Out With The 10x Developer And In With The 10x Mentor With Tracy Lee

Out With The 10x Developer And In With The 10x Mentor With Tracy Lee

Making technical decisions for your business when you don't have experience as a developer is difficult. It's scary to make decisions that you don't know the consequences of.Tracy got into development...

17 Sep 201930min

Build Performant And Reliable Applications With Molly Struve

Build Performant And Reliable Applications With Molly Struve

To executives, new features mean more money, but even if you had terrific features, they wouldn't be worth a thing if they only worked half the time. Reliability isn't something you want to put off un...

6 Sep 201931min

Learn To Debug Properly And Ask Better Questions With Justin Samuels

Learn To Debug Properly And Ask Better Questions With Justin Samuels

How many of us still almost exclusively use console.log() when trying to debug something? It's okay, plenty of us do it that way, but you could be saving yourself a lot of pain and suffering by using ...

30 Aug 201931min

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