How to get # fragment from url in NextJS 13
Unanswered
Mini Satin posted this in #help-forum
![Avatar](https://cdn.discordapp.com/embed/avatars/5.png)
Mini SatinOP
How to get fragment part of the url in NextJs 13? useSearchParams and useParhname don't contain this data. Thanks!
1 Reply
![Avatar](https://cdn.discordapp.com/avatars/484037068239142956/f386ac21405ce3442e0f3598223e1cb3.webp?size=256)
joulev
you must use a client component and read it from window.location.hash or similar