Hacker News new | ask | show | jobs
by RheingoldRiver 963 days ago
I'm using a library called react-router-dom, it gives you hooks useNavigate and useParams to write & read, respectively. Then there's some compression/stringifying of state, so you get to a hash that isn't insanely long.