re-frame

https://github.com/Day8/re-frame/blob/master/docs/README.md https://github.com/Day8/re-frame/blob/master/docs/External-Resources.md
2020-09-02T12:18:15.003100Z

Events can be maps. Coming soon. Any thoughts? https://github.com/day8/re-frame/issues/644

💯 6
beders 2020-09-10T17:22:26.000300Z

Is it important to distinguish between ::rf/eid and ::rf/qid ? Since maps with those in it are used with different fns, would ::rf/id work for both? Currently you can't visually tell an event vector from a subscription vector (other than by adopting naming conventions for subs and events, which is what I'm currently doing). Using eid and qid makes it clear what a map is supposed to be used for. However, is that important? Other variants: :re-frame.subs/id and re-frame.events/id ?

wegi 2020-09-02T13:07:36.004600Z

I have a weird bug in that when I clear the subscription-cache and call my render function anew not everything re-renders. It worked for most of last month. Anybody have a hunch what may be going wrong?

wegi 2020-09-02T13:11:46.005200Z

Also it seems to happen almost exclusively to views that contain forms. 😄 That is certainly a strange one

wegi 2020-09-02T14:08:01.007400Z

Oh, found the culprit, its not re-frame. (For those interested: Every component that is called as a view in reitit does nor re-render on a combo of rf/clear-subscription-cache! and reagent.dom/render . But all other components do just fine. Intermediate fix is to not have any code except for calling other components in reitit-routes)