[Task]: Adjust onPageLoad logic w.r.t. module instances used inside modules #33466
Labels
Backend
This marks the issue or pull request to reference server code
Module consumer
Issues related to the module consumer side
Packages pod
issues that belong to the packages pod
Task
A simple Todo
Description
Currently, when a module consumes other modules, references to those nested modules are treated as module instances. These nested module instances are hidden from direct use by the consumer but are triggered internally whenever the outermost module references them.
To ensure consistency, if the outermost module is set to run on page load, all nested module instances it references should also be marked to run on page load automatically. This adjustment is necessary to maintain the expected behavior and ensure that all dependent modules initialize correctly when the page loads.
The text was updated successfully, but these errors were encountered: