React Hooks 3: New Hooks in React 18
3 min readAug 23, 2022
I’m still familiarising myself with the new updates in React 18 such as Concurrency, Automatic Batching, and the new Transitions and Suspense features (I might write about it). Still, to finish this section I’m going to go over the new Hooks in React 18.
1. useId
This new Hook will generate a unique ID on both sides, client and server while avoiding hydration mismatches.