Previously all the pages were initially hidden and shown on bookmark change.
This solution have an important disadvantage:
hidden page inputs are not bind,
you need to use suspendWhenHidden = FALSE for all the inputs in order to update them.
We decided to hide all the pages with visibility: hidden.
This forces all the pages to be rendered during runtime, but between page state is remembered and not rendered again.
What's more the API is more consistent now. You should use router$ui instead of router_ui() and router$server(input, output, session) instead of router(input, output, session).
Previously all the pages were initially hidden and shown on bookmark change. This solution have an important disadvantage:
suspendWhenHidden = FALSE
for all the inputs in order to update them. We decided to hide all the pages withvisibility: hidden
. This forces all the pages to be rendered during runtime, but between page state is remembered and not rendered again.What's more the API is more consistent now. You should use
router$ui
instead ofrouter_ui()
androuter$server(input, output, session)
instead ofrouter(input, output, session)
.