We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Steps to reproduce.
FlowRouter.route('/example-route/:routeParam', { name: 'exampleRoute', action() { // Some action... }, });
FlowRouter.go('exampleRoute', { routeParam: 0 });
The value 0 for routeParam is ignored.
Guessing a generic is null/undefined check against the param will be causing this (i.e. if (routeParam) { do something })
if (routeParam) { do something }
Workaround is set to parameter as { routeParam: '0' }. However, this is counter intuitive when all other integers work as route parameters.
{ routeParam: '0' }
I can submit PR with fix if this is a feature you wish to include.
The text was updated successfully, but these errors were encountered:
Just letting you know a fix for this would be appreciated as it it still an existing issue.
Sorry, something went wrong.
No branches or pull requests
Steps to reproduce.
FlowRouter.go('exampleRoute', { routeParam: 0 });
The value 0 for routeParam is ignored.
Guessing a generic is null/undefined check against the param will be causing this
(i.e.
if (routeParam) { do something }
)Workaround is set to parameter as
{ routeParam: '0' }
. However, this is counter intuitive when all other integers work as route parameters.I can submit PR with fix if this is a feature you wish to include.
The text was updated successfully, but these errors were encountered: