Sep 8, 2018 · 1 min read
I’m not sure what you mean by a step. The method described here would involve defining the shape of ctx in every component. However, this might not be required in a lot of situations, and simple prop-passing might suffice. I prefer to keep state-derived values wrapped up in a ctx record to simply make it easier to pass it around.
