Skip to content

valtio's proxy is 10~30x slower than @vue/reactivity #811

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

You must be logged in to vote

Currently, valtio's proxy(initialObject) copies the initialObject deeply to keep initialObject isolated.
So, you don't need to do Object.assign({}, ...).

In v2, we will be changing this behavior. #703

Replies: 1 comment 2 replies

Comment options

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

@dai-shi
Comment options

Answer selected by jiangjiu
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