Skip to content

Can't we watch the structure attributes in x-data using x-effect? #4527

Answered by ekwoka
JalalJaberi asked this question in 5. Bugs
Discussion options

You must be logged in to vote

Yes, it's intended, as the thing you accessed has not been reassigned.

If you did console.log(JSON.stringify(items)) it would trigger on all possible changes.

I don't see any reason why you would want to have it respond to things not being accessed. Why rerun effects that give the same result?

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by JalalJaberi
Comment options

You must be logged in to vote
3 replies
@ekwoka
Comment options

@JalalJaberi
Comment options

@ekwoka
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants