You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Knowledge has to create a new app for each embedded components. This is slightly annoying because there is some bookkeeping to do to copy the app configuration. Also, the sub app cannot have the same template cache, since compiled templates keep a reference to the app and doing that may cause weird crashes.
Another usecase could be website, which may have 1 single owl app with multiple roots all over the page.
I don't think that it would be very difficult to modify the App class to support multiple root nodes:
app.mount(Component,root)
The text was updated successfully, but these errors were encountered:
Knowledge has to create a new app for each embedded components. This is slightly annoying because there is some bookkeeping to do to copy the app configuration. Also, the sub app cannot have the same template cache, since compiled templates keep a reference to the app and doing that may cause weird crashes.
Another usecase could be website, which may have 1 single owl app with multiple roots all over the page.
I don't think that it would be very difficult to modify the App class to support multiple root nodes:
The text was updated successfully, but these errors were encountered: