How to Retain Context On cache #16016
Unanswered
never-give-up-dev
asked this question in
Q&A
Replies: 1 comment
-
Hey @MaheshReddy-05, the Aside from this, I can't tell you a lot - as long as you destroy the iframe DOM element (which likely happens when changing the route), Theia will reload, as the frontend is unloaded as soon as the iframe is destroyed. You will need to find a way to preserve the iframe DOM element. This will prevent Theia from reloading. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was loading the browser ide inside an iframe, when i move to different route and come back to route which had iframe src to ide the whole ide is loading again evnthought i was not destroying the ide route component and caching it
I have see some info in the repo regarding this but didn't foute a way how to enable this from by web-app
readonly retainContextWhenHidden?: boolean;
come someone help it out how do i enable or pass this option from my web-app or any other possible ways, Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions