MatanBobi/advanced-react-session-4

★ 0Forks 0TypeScriptGitHub ↗Compare

README

Advanced React Session 4

To start, run npm install and then npm run dev.

Step 1

Add Suspense in order to lazy load the PokemonPage component.
Don't forget to use the ErrorBoundary.

Step 2

Use the use hook and replace the useEffect with fetching using use and a Suspense boundary.

Step 3

Use useTransition to present the stale ui with an indication that there's a pending render ongoing.

Contributors

MatanBobi

Issues