rum

Simple, decomplected, isomorphic HTML UI library for Clojure and ClojureScript | 0.12.8 https://github.com/tonsky/rum/blob/gh-pages/CHANGELOG.md#0128
2017-09-14T12:38:34.000228Z

Can I prevent a reactive component from updating on certain local state changes?

2017-09-14T12:38:42.000159Z

I don't seem to have should-update on the reactive components.

2017-09-14T14:12:32.000278Z

That's exactly what I did, created an atom outside the component. Seems hacky but did the trick.

martinklepsch 2017-09-14T14:15:04.000650Z

@danielstockton you can still use rum’s local state mixin, just don’t use rum.core/react

2017-09-14T14:15:44.000523Z

Hmm, I wasn't using react on those properties but it was still re-rendering

2017-09-14T14:16:02.000715Z

I'm using react on cursors and props.

martinklepsch 2017-09-14T14:16:23.000284Z

@danielstockton “those properties” as in a key in your local state atom?

2017-09-14T14:16:37.000048Z

Yeah, as in anything on local state.

2017-09-14T14:16:41.000273Z

Only reacting to app-state

martinklepsch 2017-09-14T14:17:59.000397Z

@danielstockton you’re right, any change to local mixin atoms will cause a re-render

martinklepsch 2017-09-14T14:18:14.000110Z

misremembered 🙂