reactjs - How to get parameters from hash URL with react-router? -


any method url parameters hash url react-router.

you should able access location in <route> component via this.props.location , pass down child components described in v2.0.0 upgrade guide: https://github.com/reacttraining/react-router/blob/v2.8.1/upgrade-guides/v2.0.0.md#accessing-location

location docs:
https://github.com/reacttraining/react-router/blob/v2.8.1/docs/glossary.md#location


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -