Next.js Discord

Discord Forum

"use(resource)" api removed from Next 15?

Answered
Carpenter ant posted this in #help-forum
Open in Discord
Carpenter antOP
https://react.dev/reference/react/use

I figured it would be available since React 19 canary is shipped with v15? How do I enable it? this is impossible to google lol
Answered by Carpenter ant
nvm it's included I just couldn't import it for some reason. restarts help.
View full answer

1 Reply

Carpenter antOP
nvm it's included I just couldn't import it for some reason. restarts help.
Answer