React Hook, Hooks, React.
difference? ->useState() is built using useReducer() When to use useReducer VS useState useState(): ->if you want to manage premitive type like integer,string,boolean then useState() is better option ->if you are updating one or two varaibles then useState() is better ->useState() has simple