Immutable JavaScript Data Structures with Immer

ClockIcon58m
reactReact
^16.8.6
javascriptJavaScript
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
4.9
152 people completed
Michel Weststrate
By

Michel Weststrate

Michel Weststrate is a full-stack developer working at Mendix. Author of the MobX state management library and fan of React and Typescript. Loves to build things ...

Using immutable data structures provides many benefits, including making your code easier to reason about and less prone to bugs.

However, since JavaScript doesn't include support for immutable data structures out of the box, you need to use a third party library. But which one to choose?

In this self-paced workshop, Immer's creator Michel Westrate will guide you through the creation of a multi-user Gift Tracking app.

You'll learn the basics of using Immer to handle immutable state updates, then go further into change distribution and implementing an undo/redo.

After this workshop, you'll be ready to leverage immutable data structures in your own applications!

What you'll learn

  • CheckIconImmutable State
  • CheckIconStructural sharing
  • CheckIconCurrying
  • CheckIconDetect and distribute changes in data

Prerequisites

  • ChevronRightIcon

    Basic knowledge of immutable principles

Michel Weststrate
By

Michel Weststrate

Michel Weststrate is a full-stack developer working at Mendix. Author of the MobX state management library and fan of React and Typescript. Loves to build things ...

Illustration for Introduction to the in-depth Immer course

Introduction to the in-depth Immer course

Michel Weststrate
Lesson