Giter Club home page Giter Club logo

immer-talk's Introduction

Summary

Stop worrying and start mutating your state (Brooks Lybrand)

Watch the talk

Play with the Demo

Predictability, immutability, single source of truth — these are all concepts that are absolutely essential to understand in order to have reasonable, straightforward state management in your frontend applications. Unfortunately, implementing these practices isn’t always so straightforward.

You may have heard of callback hell, or even async/await hell, but are you also stuck inside of spread hell? Developers often find themselves in spread hell when every update to their state means drilling down multiple levels to change some value, and then spreading objects all the way back to ensure immutability. At the least it’s ugly, and at the worst it’s a difficult to debug, complicated headache.

What if you could save yourself the headache by simply mutating your state? In this talk, we will explore a tiny, yet powerful library that will save you time while resulting in cleaner code, more straightforward state management, and even in some cases, better performance.

Bootstraped with create-react-app

immer-talk's People

Contributors

brookslybrand avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.