react-firebase-starter
react-firebase-starter copied to clipboard
Impossible to acces parameters from the URL
Hello everyone,
I have set up the latest version of RSB with th new route.js but it is still impossible to access some value from the url such as:
{ "path": "/item/:itemId", "page": "./process" }
Could you explain me how to achieve this utter simple use?
Thanks in advance
Is the path parameter not stored in this.props.params.itemId
?
@Space69 Something like below:
use this.props.route.params.itemId
Page.propTypes = {
route: PropTypes.object,
};