Skip to content

Some confusion about storing HTMLElement in state #1020

Answered by dai-shi
lmk123 asked this question in Q&A
Discussion options

You must be logged in to vote

How about this?

state.a = ref(document.createElement('div'))

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@lmk123
Comment options

@dai-shi
Comment options

Answer selected by lmk123
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants