React Hook, Hooks, React.
Count-:{count}<br/> {/* we have 3 action here */} <button onClick={()=>dispatch(‘increment’)}>Increment</button> <button onClick={()=>dispatch(‘decrement’)}>Decrement</button> <button onClick={()=>dispatch(‘reset’)}>Reset</button> </div> ) } export default Reducer 5.useCallback() & useMemo(): Both