Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Being able to batch state -> render updates based on priority even better still.

Mobx [1] is pretty good for this, it batches updates that happen, making rendering more efficient.

Also regarding rendering, react will update a component it it's state changes. It might update its children components, but if you pass them in as props, they won't be updated, as they're rendered in the parent component's context.

This allows you to create complex applications with thousands of interactive components, and have quite good performance, as minimal rendering is performed.

[1] https://mobx.js.org/react-integration.html



Yep. Solid is too! Even so all of these abstractions need help when the computation itself is expensive and knowing whether to perform it is too. The ones best designed for that provide really clear APIs for how to take control where they’d otherwise handle it.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: