News for hackers. Stuff that matters.
Re:Making Sense of React Server Components by Izkata on Wednesday September 06, 2023 @03:03PM (#37409591)
It does a shallow compare, not a deep compare. Workarounds tend to involve additional hooks: https://dev.to/vsramalwan/ways-to-handle-deep-object-compari...
Re:Making Sense of React Server Components by vlod on Wednesday September 06, 2023 @04:06PM (#37410563)
I heard that immutability libraries like immer.js [0] help with this. Anyone go this way and had good success? Is this 'the way'?

[0]: https://immerjs.github.io/immer/