Rajdeep Singh
Apr 25, 2020

--

yes, Desmond Adusei's location.value is undefined, bcz of we pass the value on the index page base on post id. when clicking somebody on post link than data store in value after we get on dynamic data value read page. use useLocation hook.

--

--

Rajdeep Singh
Rajdeep Singh

Written by Rajdeep Singh

Follow me if you learn more about JavaScript | TypeScript | React.js | Next.js | Linux | NixOS | Frontend Developer | https://linktr.ee/officialrajdeepsingh

No responses yet