Skip to content

layout parameter for createRoutesView #9

@hyze2d

Description

@hyze2d

Would be nice to be able to provide a layout wrapper for group of routes, passed layout will be rendered only if some route from list is opened. Layout itself should accepts children prop and render it somewhere inside itself.

  const Routes = createRoutesView({{
    layout: Layout,
    routes: [..]
  })

Metadata

Metadata

Assignees

No one assigned

    Labels

    RFCProposal requires more discussion

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions