Jul 24, 2017 · 1 min read
I created a simple demo based from this code — https://codesandbox.io/s/r6M3NEQp
I wondered what to do when the composition is deeply nested. e.g.
AppState ( App (Box Box) )
My approach is to pass the props down the chain.
I created a simple demo based from this code — https://codesandbox.io/s/r6M3NEQp
I wondered what to do when the composition is deeply nested. e.g.
AppState ( App (Box Box) )
My approach is to pass the props down the chain.