We have a site with has too many pages reaching certain depth, so we have set our structureDepth to 1.
This works fine for the most part and when clicking on links that takes to a page that is on a deeper level, it will get the new model.json file and render the page.
But this does not seem to work as expected when using history.push('/path/to/a/page'). When we do that, the url is properly updated but no json is ever requested.
so I don't think this is a bug on here. I've replaced the logic with a simple in the app and it still doesnt work. I guess this will be some weird bug in our side.
Describe the bug
We have a site with has too many pages reaching certain depth, so we have set our structureDepth to 1. This works fine for the most part and when clicking on links that takes to a page that is on a deeper level, it will get the new model.json file and render the page. But this does not seem to work as expected when using history.push('/path/to/a/page'). When we do that, the url is properly updated but no json is ever requested.
We follow a similar approach to the guide:
Then a component will just do
This works fine for pages within the first level of the page (which are in the initial model.json) but fails in deeper pages.
Package version using version 1.4.0