Skip to content

"'0' is not a valid attribute name" when navigating to a wildcard route with "props: true" #1994

Closed
@KaelWD

Description

Version

3.0.1

Reproduction link

https://codesandbox.io/s/oo6x710k39

Steps to reproduce

  • click 'foo'
  • click 'bar'
  • observe the error
  • click 'home'
  • note that the page title no longer updates

What is expected?

Either give a console warning, or silently ignore the numeric props

What is actually happening?

The following error is thrown, breaking the whole page
image


In the actual app everything is wrapped in another dynamic route, which is what has props: true

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions