Next.js 15 筆記:searchParams 的正確處理模式
Next.js 15 學習筆記。紀錄 searchParams 變成 Promise 後,為何在頂層元件 await 是更清晰、更好的作法。
5 min read Willy Hsu
- #Next.js
A diary where I turn tough problems into learning moments and share what I've found.
The moment it all made sense.
The newest thoughts and discoveries from the diary.
Next.js 15 學習筆記。紀錄 searchParams 變成 Promise 後,為何在頂層元件 await 是更清晰、更好的作法。