Skip to content

Repository files navigation

This is a presentation under 3 minutes for SEO/Prod eng Learning day!

The new React19 use() hook

  • This new hook that will be available on React 19 replaces both the need for useContext and for fetching inside useEffect.
  • It can be called inside for loops and if statements
  • But it still can only be called on client side

You can see how I used it here, inside an if statement and with both context and fetching from api examples.

Reference

screen-recording-2024-07-22-at-113435_sNd3Z5e9.mp4

About

Presentation for SEO Prod/Eng Learning

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages