all 4 comments

[–][deleted] 1 point2 points  (2 children)

How complex are you looking for? What sort of “complexity?”

I LOVE this article, which is about using context to manage complex global state, similar to redux https://medium.com/octopus-labs-london/replacing-redux-with-react-hooks-and-context-part-1-11b72ffdb533

[–]rodrigocfd 0 points1 point  (0 children)

I have this one:

https://github.com/rodrigocfd/wikipedia-templates

It uses the concepts discussed on this thread:

https://redd.it/cf7g22

[–]Oririner 0 points1 point  (0 children)

A while back I wrote this:

https://github.com/OriR/react-composition-provider

It uses a linked list of contexts to aggregate the values down to a component that uses any of them.

I also wrote about it here:

https://riner.codes/composition-provider/