Immutability in React: Should you mutate objects? - LogRocket Blog
blog.logrocket.com · 2,759 words · saved by 1 readers
In React, immutability isn’t just fashionable, it has some real benefits. However, like all things in programming, its a trade-off.
Immutability in React: Should you mutate objects? - LogRocket Blog Advisory boards aren’t only for executives. Join the LogRocket Content Advisory Board today → Blog Dev Product Management UX Design Podcast Product Leadership Features Solutions Solve User-Reported Issues Surface User Struggle Optimize Conversion and Adoption Start Monitoring for Free Sign In 2022-10-14 2179 #react Esteban Herrera 254 Table of contents Table of contents What is immutability? Value type Reference equality vs. value equality Immutability performance optimizations in React Implementing immutability in React
related reading
- You Might Not Need an Effect – Reactreact.dev
- Updating Objects in State – Reactreact.dev
- Updating Arrays in State – Reactreact.dev
- Build your own Reactpomb.us
- Blogged Answers: A (Mostly) Complete Guide to React Rendering Behavior · Mark's Dev Blogblog.isquaredsoftware.com
- Immutable object - Wikipediaen.wikipedia.org
- Implementing React from scratchrob.directory
- Tao of React - Software Design, Architecture & Best Practices | Alex Kondovalexkondov.com
- Why React Re-Renders • Josh W. Comeaujoshwcomeau.com
- When does React re-render components? | Felix Gerschaufelixgerschau.com
- Variables and Mutability - The Rust Programming Languagedoc.rust-lang.org
- How Mozilla’s Rust dramatically improved our server-side performance | Figma Blogfigma.com