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

Yeah it is really easy to fall into a misuse of expensive object memoization with deep equality checks if you try to "do it right" in React for example, and work without an external state management library.

Or when working with libraries that demand this.

In that spirit, I find MobX pleasant to work with as an alternative.

Although it remains needed to grok reference equality checks in reactivity, there's no way around that I guess.

Fundamentally, when passing messages with structured payloads I'd consider it good style for the payload to be serializable and free from references and mutable state.




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

Search: