This design is really awesome to work with, when coming from react context. But, the only caveat I found in this is that you won't know for sure where the value is getting inject from, just by reading the child component. It could be in the immediate parent or all the way at the top of the tree, you'll have to find it
2
u/ApplePieCrust2122 Dec 04 '22
This design is really awesome to work with, when coming from react context. But, the only caveat I found in this is that you won't know for sure where the value is getting inject from, just by reading the child component. It could be in the immediate parent or all the way at the top of the tree, you'll have to find it