Skip to content

Is it safe to use app._container #9188

Discussion options

You must be logged in to vote

The app container is the root node where the entire application mount. This node can be modified through native js, so there is no security issue because any dom can be accessed and modified. getCurrentInstance().appContext.app. _container is an internal attribute. I think using it is not a correct behavior. It is not a public API. The risks brought by using or modifying it are expected.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jf-niji
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants