Closed sannajammeh closed 3 days ago
Hello!
Yes, that's an important change, thanks. It would be wonderful if you would create a PR for this.
If you will decide not to do it - please let me know and I'll add the functionality in the nearest free time
Working on this
Released! v1.0.0 🎉
In route / a cookie property was accessed directly with
cookies().get('NEXT_LOCALE')
.cookies()
should be awaited before using its value. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apisNext 15 will release with async api's for everything, meaning await has to be called when accessing cookies().
Happy to do a PR for this as well