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

fix(deepEqual.js): add equality check using isEqual Doc refs #23

Closed
wants to merge 1 commit into from

Conversation

cdock1029
Copy link

fix #22

@@ -23,3 +23,32 @@ test('returns true if nested arrays are the same', () => {
test('returns false if nested arrays are different', () => {
expect(deepEqual(['a', ['b', ['c']]], ['d', ['e', ['f']]])).toBe(false);
});

function mockIsEqual(other) {
return this.value === other.value;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cdock1029 - Looks like the tests are failing due to the eslint no-invalid-this rule. I think adding an ignore here for this rule would be fine.

bfirsh added a commit to bfirsh/boxwise that referenced this pull request Jun 19, 2018
Fixed by green-arrow/react-firestore#23

My branch is that pull request rebased on master, which has some
fixes we need.
rubenspgcavalcante pushed a commit to boxwise/boxwise that referenced this pull request Jun 20, 2018
Fixed by green-arrow/react-firestore#23

My branch is that pull request rebased on master, which has some
fixes we need.
@green-arrow
Copy link
Owner

@cdock1029 - I'm going to go ahead and close this since the build is not passing. If you have time to update this PR feel free to reopen it!

@bfirsh - Feel free to make another PR with this change if you'd like 😄

@green-arrow green-arrow closed this Mar 9, 2019
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.

When using a reference in a filter, FirestoreCollection reloads on every render
2 participants