Skip to content

Support passing down state in memoryLocation. #492

@Grsz

Description

@Grsz

Following the testing instructions about passing down memoryLocation(...).hook to Router I couldn't find a way to pass down state to the current location. The only args memoryLocation receives are:

  path?: Path;
  static?: boolean;
  record: boolean;

It would be a very useful feature to let an additional prop be passed: state.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions