The Rise of Immer in React
netlify.com
The Rise of Immer in React
1–9 of 9 posts
Re: The Rise of Immer in React
#2Re: The Rise of Immer in React
#3Main issue with immer is a lack of custom types support (like Record in immutable.js)
Re: The Rise of Immer in React
#4Main issue with immer is a lack of custom types support (like Record in immutable.js)
Why would you be using Immer and Immutable.js together? They seem pretty much mutually exclusive. Immer works on plain JS objects and arrays, while Immutable.js has its own set of APIs for objects.
Re: The Rise of Immer in React
#5Main issue with immer is a lack of custom types support (like Record in immutable.js)
Re: The Rise of Immer in React
#6Re: The Rise of Immer in React
#7It's great you've noticed immutability in a singled threaded environment is a nonsense. Why to go further with own implementation then?
I know you don't _need_ immutability enforced at the object level to write pure functions, but I could understand the argument in its favor.
Re: The Rise of Immer in React
#8It's great you've noticed immutability in a singled threaded environment is a nonsense. Why to go further with own implementation then?
Re: The Rise of Immer in React
#9It's great you've noticed immutability in a singled threaded environment is a nonsense. Why to go further with own implementation then?
Immutability is highly useful in a browser environment for efficient rendering of UI.