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

Multiple fixes and improvements to the FirestoreMixin #310

Merged
merged 20 commits into from
Jan 10, 2018

Conversation

merlinnot
Copy link
Contributor

Supersedes #294, #298, #299, #301, #303

Resolves #283, resolves #284, resolves #287, resolves #300, resolves #302

Currently, when one document in a collection changes, an entirely new array is assigned to a property. It does not work well with dom-repeats, iron-lists etc. This change lays the groundwork for a more efficient solution.
This change fixes an issue which occurs when observed/bound properties are defined prior to a call of `connectedCallback`. Since _firestoreUpdateBinding method handles null and undefined values correctly, the `if` statement can be safely removed.
@tjmonsi
Copy link
Collaborator

tjmonsi commented Jan 10, 2018

Thanks for this @merlinnot I'll merge it now so I can add this in my review list

@tjmonsi tjmonsi merged commit 0fcfc37 into FirebaseExtended:firestore Jan 10, 2018
@merlinnot merlinnot deleted the firestore branch January 10, 2018 08:49
@merlinnot merlinnot restored the firestore branch January 10, 2018 08:49
@merlinnot merlinnot deleted the firestore branch January 10, 2018 08:49
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

Successfully merging this pull request may close these issues.

2 participants