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

files, notify & observers #26

Open
rkrupinski opened this issue Jan 26, 2018 · 0 comments
Open

files, notify & observers #26

rkrupinski opened this issue Jan 26, 2018 · 0 comments

Comments

@rkrupinski
Copy link

The files prop only notifies on files.*. The files notification is only sent once, when the component is attached and the initial value ([]) is set. For that reason, the only option to watch for changes (unless I'm terribly mistaken) is to use complex observer; observer within property definition simply won't work. Consider making the files array immutable instead of using this.push.

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

1 participant