React Supreme Book

Hooks

Introduction Types of hooks Effects useEffect effect hook Dependencies in useEffect Global handlers in useEffect Variations of the useEffect hook Context useContext context hook Refreshing the context Refs Hook ref useRef useRef hook for DOM useMemo performance hook API memo for productivity useCallback performance hook useTransition performance hook useDeferredValue performance hook

Router

Introduction Installing the framework Router and its types Adding a router Routes Creating a root route Handling 404 Not Found Error Adding another route Nested routes Client-side routing Getting data from storage Data loader for route Using data obtained by the loader Adding data Adding data to storage Adding data with the action method Loading page data by URL parameters from storage Getting loader data by URL parameters Recording and editing data by URL parameters Creating a route for editing data Updating data by URL parameters in storage Updating data with FormData Redirect to another route Styling active links Navigation status Deleting data from storage Deleting a route Index route Route without a path
enru