How to get # fragment from url in NextJS 13
Unanswered
Mini Satin posted this in #help-forum
Mini SatinOP
How to get fragment part of the url in NextJs 13? useSearchParams and useParhname don't contain this data. Thanks!
1 Reply
you must use a client component and read it from window.location.hash or similar