DEV Community

Discussion on: Why I never use React.useContext

Collapse
 
dance2die profile image
Sung M. Kim

I also use KCD's context pattern (mentioned in the linked blog).

Instead of exposing dispatch as KCD did, I sometimes expose actions (functions that wraps dispatch calls) down the context.