1.2.0
- Adds support for default routes, which are rendered when no other routes match:
- Adds reasonably good test coverage
Example: Dedicated 404 route
<Router>
<Home path="/" />
<Profile path="/profile/:user" />
<Error404 default />
</Router>
Example: Fall back to homepage for 404's:
<Router>
<Home path="/" default />
<Profile path="/profile/:user" />
</Router>