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: optional chaining for clearAll #725

Merged
merged 3 commits into from
Jul 4, 2022
Merged

fix: optional chaining for clearAll #725

merged 3 commits into from
Jul 4, 2022

Conversation

hirbod
Copy link
Contributor

@hirbod hirbod commented Jul 4, 2022

As spoken to @naqvitalha, recyclePool can be null under specific circumstances (issue happens when data updates before the list has been rendered). Adding optional chaining to prevent crashing.

@hirbod hirbod marked this pull request as draft July 4, 2022 14:52
@hirbod hirbod marked this pull request as ready for review July 4, 2022 15:18
@naqvitalha naqvitalha merged commit 37d992c into Flipkart:master Jul 4, 2022
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