Skip to content

Pass props from route #9

@Arcath

Description

@Arcath

Should be able to pass props to a routes component from the route.

Thinking:

new Route({
  path: '/foo',
  component: Foo,
  props: {
    this: 'that'
  }
})

would result in a props object (before hooks etc...) of:

{
  path: '/foo' # completePath to route
  this: 'that'
  router: router
}

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions