Rishi Bakshirishibakshi.hashnode.dev·Oct 9, 2024Dynamic Routes in Next.js: Understanding the Significance of params and searchParamsOne 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...10 likesYou Don't Know Next.jsNext.js
Alabi Olalekan Emmanuelolalekanemmanuel.hashnode.dev·Aug 15, 2024How to Lift Component State to the URL in Next.js/React.jsWhen 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...10 likes·33 readssearch params
KarlforCosmic Blogcosmicjs.hashnode.dev·Aug 16, 2023Ditching State for searchParams: The Future of Next.js 13Prerequisites 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....10 likesNext.js
Emmanuel Ifeanyi MECHIEemmanuelbyte.hashnode.dev·Jul 22, 2022using URLSearchParams for Query String in ReactJsWhat 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 ...3 likes·42 readsQuery