reach / router

https://reach.tech/router
MIT License
6.91k stars 325 forks source link

Anchor link support #235

Open gregplaysguitar opened 5 years ago

gregplaysguitar commented 5 years ago

With a link like

<Link to={'/myroute#myanchor'}>

My expectation was that the browser would scroll to the element with id="myanchor" as per usual. Is this a reasonable expectation?

If so, I could look at doing the implementation, but will wait for maintainer approval first.

noahehall commented 4 years ago

any update on this?

noahehall commented 4 years ago

blah just scrollintoview

gregplaysguitar commented 4 years ago

See https://reacttraining.com/blog/reach-react-router-future/