We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
Indicates that a previous view instance should be-reused when reloading a
location in the same browser window/tab.
This annotation can also be used, when exporting embeddable web components.
Place this annotation onto the class extending
WebComponentExporter. This flags all the
embedded components from that exporter to be preserved on refresh. Due to the
challenge of uniquely identifying embedded components through refresh. When
embedded, the component is identified by window name and a generated
component id. This means, that if the same component instance is embedded
onto two pages within the same window context, the state can be transferred
between locations. To avoid state leaking, provide unique id for the embedded
web component. The id must be unique across all the pages where instances of
the web component are embedded.