Skip to content

why inject() must be called synchronously ? #6276

Discussion options

You must be logged in to vote

const instance = currentInstance || currentRenderingInstance

synchronously call will ensure the instance is properly.

Replies: 1 comment 2 replies

Comment options

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