Creating Modals/Popups with useContextAre you still sending values to the child component at the bottom? Why not separate the value into a file and have the desired components import it?7 min read·greyhaired.devOct 30, 2022
Handling pagination with UseReducerUsing useState to manage complex states in Pagination makes your code unclean. I'll demonstrate how to optimize it with useReducer.12 min read·greyhaired.dev2CGOct 21, 2022