Fork me on GitHub
#clojurescript
<
2021-03-23
>
jaide22:03:13

https://cljdoc.org/d/reagent/reagent/1.0.0/doc/tutorials/react-features#react-features I take it if using context, the consumer must return a r/as-element vs a regular hiccup vector to function?

p-himik22:03:54

Yes, because Consumer is a React class and has no idea how to use Hiccup vectors.

jaide00:03:20

Thanks, that makes sense.