Fork me on GitHub
#rum
<
2024-04-08
>
aiba21:04:05

Is there a pattern for retaining rum/local state upon shadow-cljs doing a reload? it's kinda tough to iterate on a component's UI when the rum/local state is lost on every file save.

aiba01:04:12

Update: found this page [ https://github.com/tonsky/rum/blob/gh-pages/doc/useful-mixins.md#remember-state ], but it doesn't seem to work with hot reload (because upon each reload, the remembered state atom is re-initialized.