What version of React Router are you using?
6.4.0-pre.14
Steps to Reproduce
- Use
DataBrowserRouter
- Add a Route with something that is not a component, like
div, h1, etc. as an element.
- Change the content of the element by literally editing the file or adding some kind of state to it.
Reproduce it here
Expected Behavior
The element should rerender on a hot reload or on a state change...?
Actually I'm not sure if this is the expected behaviour or not, I can't find any mentions to it in the docs that says this will happen when using this kind of router.
Actual Behavior
Element does not rerender.