Records & Tuples, a very interesting proposal, has just reached stage 2 at TC39.
They bring deeply immutable data structures to JavaScript.
B...
For further actions, you may consider blocking this person and/or reporting abuse
These and the pipeline operator will make JS so much more fun to work with. Thanks for the great post! :)
Seconded. Love this deep dive @sebastienlorber .
Thanks à lot ☺️
Thanks ☺️
Very detailed article! Loved it.
Thanks 🤗
Great topic, you dug a lot ! And great news, I didn't knew records were on the ECMA specs pipe. JS's in good way to become the ultimate multiparadigm language !
Yes, just hope it lands now 😝
Can't wait !
I love Immer, but I love even more the prospect of making it unnecessary.
Yes 🤗 that would be nice
Hey Sebastien, Great post ;)
Thanks 😉
Btw, do you know how it'll be transpiled/polyfilled by babel ? Regular freezed objects?
It uses an interning technique to provide the === properties, it's documented on the proposal