Is there a way to access `app.stage` from within a...
# help
d
Is there a way to access
app.stage
from within a deeper nested construct? For example… if we wanted to access it from within
StaticSite
f
this.node.root
will give u the
App
object. So
this.node.root.stage
. If you are using TypeScript, you can do this:
Copy code
const root = scope.node.root as App;
root.stage