Update next 14 to 15
Answered
Asiatic Lion posted this in #help-forum
Asiatic LionOP
I wanna update my next app from 14.2, to 15.1.3, as well as react from 18.2.0 to 19 and i need help. i have updated some packages that were newly published to be compatible with react 19 but there are some other like react-slider. do you recommend forcing the update on those packages that are not compatible?
also what is the error regarding the types. That i have no idea why its happening and how to deal with it.
also what is the error regarding the types. That i have no idea why its happening and how to deal with it.
Answered by Asian black bear
For most packages that haven't explicitly added React 19 support they should work just fine when forced unless they truly use some of the internal APIs they were not supposed to use.
2 Replies
Asian black bear
For most packages that haven't explicitly added React 19 support they should work just fine when forced unless they truly use some of the internal APIs they were not supposed to use.
Answer
Asian black bear
The error in your screenshot shows you're attempting to access params synchronously but since Next v15 they are async. Read the release notes with the breaking changes for more information.