Skip to content
This repository was archived by the owner on May 19, 2025. It is now read-only.

Multiple fixes and improvements to the FirestoreMixin#310

Merged
tjmonsi merged 20 commits intoFirebaseExtended:firestorefrom
merlinnot:firestore
Jan 10, 2018
Merged

Multiple fixes and improvements to the FirestoreMixin#310
tjmonsi merged 20 commits intoFirebaseExtended:firestorefrom
merlinnot:firestore

Conversation

@merlinnot
Copy link
Copy Markdown
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
Copy Markdown
Contributor

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants