Oct 9, 2024 · 3 min read · One common mistake developers make in Next.js is misunderstanding how dynamic routes work, particularly regarding the params and searchParams props. It’s crucial to understand that these props are only accessible in the page components and not in any...
Join discussion
Aug 15, 2024 · 11 min read · When building SPAs (Single Page Applications), we tend to mostly manage state locally mainly using react hooks like useState or other external state management tools like redux, zustand etc. You might be wondering why consider the lifting of componen...
XAPDF commented
Aug 16, 2023 · 8 min read · Prerequisites In order to get the most out of this article, you'll need a few things: To be using Next.js 13 or later. To be utilizing the new App Router project structure. To be familiar with React's useState hook, and likely already be using it....
Join discussion
Jul 22, 2022 · 2 min read · What is a query string? A Query string is a portion of the URL where data is sent across the application to the server. e.g https://localhost:3000/products?page=1&category=music How do we write query string URLs are stateless; they are not meant to ...
Join discussion