#context
2 snippets tagged with #context
typescriptadvanced
Context + useReducer State Management
Type-safe global state pattern combining React Context with useReducer for complex state without external libs.
#context#reducer
typescriptadvanced
Compound Component Pattern
Build flexible compound components using React Context for implicit parent-child communication.
#patterns#compound-component