Skip to content

Conversation

yhkaplan
Copy link

Motivation

This way, we can use ReactNavigationPerformanceView in production just like PerformanceMeasureView without worrying about degrading performance

Description

It looks like the setState call would result in a re-render, which is best avoided when disabled. Please tell me if you prefer a different approach 🙏

I also updated part of the contribution guidelines

Test plan

Added unit test

Checklist

  • I have added a decision record entry, PR includes changes to monorepo setup that may require explanation

@yhkaplan yhkaplan force-pushed the prevent-setState-when-disabled branch from fd7e64b to e01d705 Compare May 26, 2023 20:25
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