Skip to content

How to use class instances in ref() state? #11096

Discussion options

You must be logged in to vote

Wrap the class instance in markRaw (class properties won't be reactive, you may need to workaround it but specific solution may depend on the use case)

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ClementNerma
Comment options

Answer selected by ClementNerma
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants