Hacker News new | past | comments | ask | show | jobs | submit login

I also REALLY want records and tuples.



Unfortunately that proposal seems to be kinda dead.

React is a fundamentally flawed framework because of the lack of this feature. It inverts the responsibility of any non-primitive prop by putting the burden on the parent element instead of the child to decide when to rerender things. So elements are no longer self-contained if they receive any non-primitive values (besides react elements).

The React compiler auto-memoization that facebook is pushing also addresses this issue through build-time magic. I not fond of this approach.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: