Learn about side effects and how to avoid them, how to wield immutablity to update objects and arrays in Redux reducers, and the easy way to update state with Immer.
Immutability is changing - time for an exploration of why Immer is a philosophical fit with React! Why has Immer gained so much love this year, and does it have staying power?
A library to deal with Immutable updates in JavaScript. Based on the famous lens library from Haskell. Wrapped in a convenient Proxy interface - yelouafi/focused
Immutable, structurally shared data structures are a great paradigm for storing state. Especially when combined with an event-sourcing architecture. However, there is a cost to pay. In a language…
This time, I chose to implement it using React, Redux and ImmutableJS. I really enjoyed the functional nature of this stack — state management is so much simpler and predictable this way.
Imagine you have a form for editing a user. It’s common to create a single change handler to handle changes to all form fields. It may look something like this…
This tutorial will guide you through building a full-stack Redux and Immutable-js application from scratch. We'll go through all the steps of constructing a Node+Redux backend and a React+Redux frontend for a real-world application, using test-first development. In our toolbox will also be ES6, Babel, Socket.io, Webpack, and Mocha. It's an intriguing stack, and you'll be up to speed with it in no time!