/state-management-with-url

Share the React state between any components, Page and route with the URL query parameters in Next.js/React.js.

Primary LanguageTypeScript

Share State Management With URL

Share the React state between any components, Page and route with the URL query parameters in Next.js/React.js.

git clone https://github.com/officialrajdeepsingh/state-management-with-url.git

Next Install npm package with following command.

npm install
# or
yarn install
# or
pnpm install

Last run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

Learn More

To learn more about Next.js, take a look at the following resources: