paint-brush
Records And Tuples Usage In Reactby@sebastienlorber
779 reads
779 reads

Records And Tuples Usage In React

by Sébastien Lorber16mAugust 25th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

A proposal for Records & Tuples for React has reached stage 2 at TC39. They bring deeply immutable data structures to JavaScript. They look like regular Objects and Arrays, with a # prefix. They are deeply immutable by default. They can be seen as "compound primitives", and can be compared by value. The proposal will enforce immutability without enforcing it as enforcing it's too strictly enforcing it too. It's not a new model for React that can run directly after each update to apply to state.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Records And Tuples Usage In React
Sébastien Lorber HackerNoon profile picture
Sébastien Lorber

Sébastien Lorber

@sebastienlorber

React dev since 2014. Freelance, working on Docusaurus with Facebook.

Learn More
LEARN MORE ABOUT @SEBASTIENLORBER'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Sébastien Lorber HackerNoon profile picture
Sébastien Lorber@sebastienlorber
React dev since 2014. Freelance, working on Docusaurus with Facebook.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Also published here
Telegram-site