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

Correct the isEqual check #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

codeanyway11
Copy link

IsEqual function made more generic.
For reference: https://gomakethings.com/check-if-two-arrays-or-objects-are-equal-with-javascript/

Initially, if it was comparing an array of different kinds of objects, it will give a wrong answer.

IsEqual function made more generic. 
For reference: https://gomakethings.com/check-if-two-arrays-or-objects-are-equal-with-javascript/

Initially, if it was comparing an array of different kinds of objects, it will give a wrong answer.
@oksktank
Copy link
Owner

oksktank commented Jun 6, 2018

@freebird1195 Thank you for your pull request.

I saw your changes and it seems good.

But i think that comparing function doesn't need to react-native-pure chart because i don't need deep equal check.
I just want to check is address of array is changed and i think it will be a better performance than check deep equal.

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