This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
working through reagent codebase does .' have any special meaning other than a js fn named ' ?
Do I have this right, when an ratom changes, it knows what components depend on it, so then it call render on these components, in component.cljs re-agent has wrapped render which now queues each render, then on requestanimationframe we sort the queue by where the components live in the tree and try to remove any that would be taken care of by an ancestor already in the queue and then render tehse
When a component renders, it accumulates a list of all the ratoms derefed during the execution of the renderer. It then watches those ratoms. When any of these ratoms are changed, it queues itself to be rendered on the next animation frame.
Some aspects discussed here: https://github.com/Day8/re-frame/wiki/When-do-components-update%3F
Also, to answer your earlier question on js interop, I'd point you to: https://github.com/reagent-project/reagent/blob/master/src/reagent/interop.clj
.' is a macro but it is now deprecated. It has been replaced by the macro
$ (because of this issue https://github.com/reagent-project/reagent/issues/196)