Fork me on GitHub
#re-frame
<
2018-02-08
>
cmal06:02:52

Hi, in https://github.com/Day8/re-frame-trace/blob/master/docs/HyperlinkedInformation/UnchangedLayer2.md . It says that if a layer 3 subscription takes value from a layer 2 subscription and if the layer 2 subscription returns the same value (using = to compare), the layer 3 subscription will not run. Will a layer 3 subscription runs if it takes value from another(or another two) layer 3 subscription(s) and if the second layer 3 runs but returns the same value(using = to compare)?

mikethompson07:02:41

@cmal subscriptions don;t rerun unless their inputs test not = to the previous value. Which matches intuition, right? If none of the inputs change the computation will be the same, so don't even bother to run it.

cmal07:02:23

Thanks, mike!

joelsanchez21:02:28

hi dear re-framers

joelsanchez21:02:43

as I promised I made a blog post detailing what I did for prerendering my app with chrome-headless

joelsanchez21:02:17

please tell me about any mistake or confusing thing because I am a coder, not a writer 🙂