Can I prevent a reactive component from updating on certain local state changes?
I don't seem to have should-update on the reactive components.
That's exactly what I did, created an atom outside the component. Seems hacky but did the trick.
@danielstockton you can still use rum’s local state mixin, just don’t use rum.core/react
Hmm, I wasn't using react on those properties but it was still re-rendering
I'm using react on cursors and props.
@danielstockton “those properties” as in a key in your local state atom?
Yeah, as in anything on local state.
Only reacting to app-state
@danielstockton you’re right, any change to local
mixin atoms will cause a re-render
https://github.com/tonsky/rum/blob/gh-pages/src/rum/core.cljs#L242
misremembered 🙂