---
title: "Comment by Aleksandr Smyshlyaev on \"How to Lift Component State to the URL in Next.js/React.js\" | Hashnode"
description: "I would rather use existing library, implementing it from scratch surely educational but isn't easy. For example https://github.com/asmyshlyaev177/state-in-url"
url: "https://hashnode.com/posts/how-to-lift-component-state-to-the-url-in-nextjsreactjs/66be8c23c8ba601aba4f7178/comment/672e87fe6b76573a07c84c1c"
---

[Discussion](https://hashnode.com/posts/how-to-lift-component-state-to-the-url-in-nextjsreactjs/66be8c23c8ba601aba4f7178)

Comment [How to Lift Component State to the URL in Next.js/React.js](https://hashnode.com/posts/how-to-lift-component-state-to-the-url-in-nextjsreactjs/66be8c23c8ba601aba4f7178)

[Aleksandr Smyshlyaev](https://hashnode.com/@asmyshlyaev177)

[Nov 8, 2024](https://hashnode.com/posts/how-to-lift-component-state-to-the-url-in-nextjsreactjs/66be8c23c8ba601aba4f7178/comment/672e87fe6b76573a07c84c1c)

I would rather use existing library, implementing it from scratch surely educational but isn't easy. For example [github.com/asmyshlyaev177/state-in-url](https://github.com/asmyshlyaev177/state-in-url)

[Alabi Olalekan Emmanuel](https://hashnode.com/@Lekanjoy)

[Nov 9, 2024](https://hashnode.com/posts/how-to-lift-component-state-to-the-url-in-nextjsreactjs/66be8c23c8ba601aba4f7178/comment/672e87fe6b76573a07c84c1c#reply-672fc04410486eb92e1125dc)

Absolutely. This is more of a beginner approach to this so as to know how everything works under the hood.

Nice library you have there by the way, I’ve used nuqs but I’ll definitely try it yours in my next project.
