Skip to content

Support useRoutes with React Router 6 integration #5338

@onurtemizkan

Description

@onurtemizkan

Problem Statement

Current version of React Router 6 integration only supports routes configured as <Route> components under <Routes>.

We also need to support routes defined as objects using useRoutes hook.

Solution Brainstorm

The current version already recreates and works on the same route object, so we may make it possible to be provided by the user, without requiring a wrapper.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions