Fork me on GitHub
#reagent
<
2022-01-20
>
Paul14:01:25

Is there a way to use dynamic variables in the component hierarchy?

p-himik15:01:24

If you mean like this:

(binding [*a* 1]
  [some-component-that-uses-*a*-inside])
then the answer is no.

p-himik15:01:05

The closest feature that could be used is React's Context.

Paul15:01:58

Thanks!

👍 1