There is a known issue with Firefox not capable of handling our Routers use of regex. For now, the workaround is to use a different browser. Do know we are working on a solution.
opened 07:43PM - 10 Mar 20 UTC
closed 12:28PM - 22 Mar 20 UTC
topic/router
bug/confirmed
The `reroute` function generates Regexes that use named capture groups: https://⌠github.com/redwoodjs/redwood/blob/7a5cc6733f54a9ac49356c609e996884517022d2/packages/router/src/util.js#L33
This [isn't supported](https://bugzilla.mozilla.org/show_bug.cgi?id=1362154) in Firefox (and probably a lot of other browsers) and causes examples to break there with "invalid regexp" errors. You'll probably need to either [polyfill](https://babeljs.io/docs/en/babel-plugin-transform-named-capturing-groups-regex) it with Babel or switch off of named capture groups.
1 Like
Looks like this was fixed a few days ago, thanks!
redwoodjs:master
â redwoodjs:pp-fix-regex-capture-groups
opened 06:24PM - 21 Mar 20 UTC
Yes! Just make sure youâre using the latest Redwood packages v0.3.2 .