After talking in another thread about how to properly theme a reagent application (especially one which is using SSR on Node.js), I decided to finally dig into how to use the new, official React context API with reagent.
A small library was born out of that:
It mostly works to paper over a lot of the boilerplate one needs when doing interop with React components that use children-as-a-function. It also is an effort to provide a more Clojure-y API around creating & using the context API.
A big reason I’m looking for some community support is to help fix some of the struggles with children-as-a-function & reagen, outlined in the gotchas section above.
Still though, I hope this saves someone else a weekend of work!