I have a project set up with routes working correctly, using the newest version of React Router.
Everything works as it should if the router renders the <App />
component directly.
If I instead tell the router to render the wrapper component created with createContainer()
from react-meteor-data
, the routes stop working. The URL changes in the address bar when I click on links, but the route components doesn’t get rendered.
However, if you click a link and then refresh the page, the route component shows up as it should.
Has anyone else experienced this? Any suggestions for what I should do?
Thanks a lot!