How can I upgrade from latest NextJS package to Canary to enable PPR experimental?
Unanswered
Southeastern blueberry bee posted this in #help-forum
Southeastern blueberry beeOP
I just init a nextjs app with
npx create-next-app@latest
and tried to use the experimental PPR by changing my next config file and exporting the route option in a page but it gives me a CanaryOnlyError
. I tried running npm install next@rc react@rc react-dom@rc
as instructed in [a blog post](https://nextjs.org/blog/next-15-rc#incremental-adoption-of-partial-prerendering-experimental) but the error persists. How can I enable it?3 Replies
Southeastern blueberry beeOP
Nvm, found the canary package. Sadly the blog post bamboozled me ;\
African Slender-snouted Crocodile
Sounds like you already worked it out, but for future readers (until the requirement for canary is removed), you can install
next@canary
.A list of tags can be found here https://www.npmjs.com/package/next?activeTab=versions