We’ve made a view “template” where users can navigate to with something like
The onStartup script located on this view do not trigger when navigating between pages with different “:params” but the same pageurl
How i noticed this was not because i was running any onstartupscripts on igntion, but on my custom module xd which used something like
When i do a print of this on each render i notice that on the first render on navigating to a new page i still get the path of the previous page.
Which caused me to also test the on startup scripts, which also seem to be bugged. Im guessing react isnt reloading the page but only the props/states.
I fixed this in my module by putting a react key in the ‘root div’ of the pageid, tho there are other ways to force a rerender too, maybe a rerender isnt really needed at all, but its just a quick bandaid i found xd.
Version 8.1.10 (b2021090812)