Skip to content

nassif7/useReducer_and_ContextAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

useReducer&ContextAPI = <3

a basic implimentation on useReducer and Context API

find the implimentation in the AdvancedAppContext

another context to manage app theme is in the AppContext

in both contexts i am exporting a customeHook in order to make the usage of the context a bit simpler

check the console to see how the state update onClick

Created with CodeSandbox