Clojurescript, Reagent: pass atoms down as inputs, or use as global variables?
<p>I'm writing a Clojurescript app, using Reagent to make my components reactive.</p>

<p>I have a simple question. Should I </p>

<ol>
<li>Pass my atoms as inputs through my components, or</li>
<li>Use the atoms as global variables and let them 'side-affect' my components?</li>
</ol>

<p>In the <a href="https://reagent-project.github.io/" rel="noreferrer">tutorial</a> they use the latter option, however in trying to keep my functions pure I opted for the former.</p>

<p>Am I correct in saying that using them as global variables (in addition to being less verbose when defining component inputs) prevents re-rendering of whole parent components where the atom's state is not used?</p>