React Router v6 | DotNet, Java, Cloud, Angular, Node, React, GoLang Tips and Tricks

added by DotNetKicks
9/16/2020 1:19:22 AM


One of the great improvements over previous versions is the bundle size. The version 5 have the size of 9.4kb but new the React Router v6 is going to have only 2.9kb file size. Routes replacing Switch In Switch of v5, you need the exact prop because all Route path values match only the beginning of the URL.