Fork me on GitHub

Thanks for the link. Didn’t find what was mentioned in the reddit thread, so I created a PR.


Thanks! Looks good to me.


I did not end in the Reagent internals until I started analyzing it for glitches.


I confess, though, I never developed a complete mental model of form-Ns.


My glaring gap has been form-2 where the outer and inner functions both have parameters. But it is simple:

Remember, outer is called once per component instance. Each time, the parameters to outer will hold the initial parameter values. The renderer on the other hand, will be called by Reagent many times and, each time, potentially with alternative parameter values, but unless you repeat the parameters on the renderer it will close over those initial values in outer.


Elementary, watson!