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
mattly 2018-06-25T18:22:43.000313Z

is there any non-hacky way to preserve component state (`defcs`) across figwheel reloads?

2018-06-25T19:31:47.000142Z

You can try to store state value in a global atom (defined via defonce) on :will-unmount and restore it on :will-mount

2018-06-25T19:33:05.000481Z

Not sure how to distinct between instances of a component. Maybe rendering order would work, but only as long as you don’t change it

mattly 2018-06-25T20:37:40.000115Z

yeah, that's sorta what I figured. thanks!