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

Can't compare array with operator !== #1126

Closed
wants to merge 1 commit into from

Conversation

g45t345rt
Copy link

@g45t345rt g45t345rt commented Feb 9, 2024

The condition is always true and force render of markers.
We should compare the array or object with toString() function.

Copy link

@Danielv123 Danielv123 left a comment

Choose a reason for hiding this comment

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

Makes sense

@PaulLeCam
Copy link
Owner

All comparisons are made by reference, it's up to your app to handle these references.

@PaulLeCam PaulLeCam closed this Jun 3, 2024
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.

None yet

3 participants