This has been so helpful. https://www.scotto.me/blog/re-frame-quickstart/
Just released https://clojars.org/day8.re-frame/re-frame-10x/versions/1.9.1. Highlights: • App-db editor ◦ Want to test out a certain db value? Just click Edit on a path inspector and type it in. ◦ Want to reproduce your app-db? Save and restore it from an edn file. • Project-level config ◦ Want to version-control your 10x settings? https://github.com/day8/re-frame-10x#project-configuration. • New React-18 mode ◦ Tired of that warning message? https://github.com/day8/re-frame-10x#compatibility-matrix. • Get subscriptions into your REPL ◦ Want to https://github.com/day8/re-frame-10x/issues/205 past subscription values? Try the new "Copy REPL command" button in the subs panel.
Very nice!
Want to reproduce your app-db? Save and restore it from an edn file. i had this feature in first versions of re-frisk, but it doesn't work for real projects, for a few reasons
Want to test out a certain db value? Just click *Edit* on a path inspector and type it in. this one i also considered but decided not to implement it, because there is repl and hot reload, so it's not a feature for real projects
Hey, thanks for taking a look. Admittedly I haven't tried it on "real" projects yet, but it works on the todomvc. It registers and dispatches an event in the client re-frame to achieve the feature. Do you think that would mess up hot reloading somehow?
thanks for the changes. I tried it and it works great. However I'm seeing some data printed to the console for every "event loop" iteration. I think it's due to the code here: https://github.com/day8/re-frame-10x/blob/97f4ea03dc269ba6c5ef9084ba5d317bf4d7e931/src/day8/re_frame_10x/panels/app_db/subs.cljs#L46-L48
Oops, rebase error. Fixed in https://clojars.org/day8.re-frame/re-frame-10x/versions/1.9.1
thanks !