Glossary: Next.js Beyond the Basics
use()
A React function that reads a promise in a Client Component, suspending until it has a value. The value must be plain data because it travels as text.
Glossary: Next.js Beyond the Basics
A React function that reads a promise in a Client Component, suspending until it has a value. The value must be plain data because it travels as text.