Dynamic Component Addition Not Supported in Golden Layout 2.0 as in 1.0
Current behavior In Golden Layout 2.0, I am experiencing an issue where dynamically adding components is not supported as it was in Golden Layout 1.0. Following the instructions from the tutorial for version 1.0 (https://golden-layout.com/tutorials/dynamically-adding-components.html), the same approach does not work in the latest version. Steps to replicate the issue:
Initialize Golden Layout 2.0. Attempt to add a new component dynamically using the methods provided in the documentation. Observe that the component is not added to the layout as expected. Expected behavior: The expected behavior is that Golden Layout 2.0 should support dynamically adding components in a similar manner to Golden Layout 1.0, where components can be added to the layout at runtime without issues.
Source: golden-layout/golden-layout