Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Computed property is re-calculated even when nested computed property has not changed #732

Open
GabrielMancik opened this issue Jan 17, 2019 · 1 comment

Comments

@GabrielMancik
Copy link

I have computed property A which is dependent on X (@computedFrom('X')) and computed property B which is dependent on A (@computedFrom('A')).

My question is: if x changes, but the result of A does not should B be re-calculated?
It seems that it is. Is this by design? I was not expecting it.

@bigopon
Copy link
Member

bigopon commented Jan 21, 2019

@GabrielMancik Can you help create a playground for this based on this template https://codesandbox.io/s/wnr6zxv6vl

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

No branches or pull requests

2 participants