Skip to content

Handle routes for react-dom v6 #346

@catdevman

Description

@catdevman

I upgraded react-dom to v6 and got quite a few errors. I fixed most of them pretty easy by updating places to work with useLocation, useNavigate and the like... Where things really broke down is working with Routes because of the way it takes and array of routes but also renders it's own default routes. I am going to read a bit more to see if I could overwrite those but in general I think it would be a great upgrade because v6 I believe is 8kb instead of 23kb so pretty significant reduction in size and seems like a better API to use overall.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions