-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(events-v2): Fix tab change detection logic (#13658)
This is a little verbose but I can't think of a better way to detect a changing tab within this component so that we can show the correct loading state depending on the type of change. Since componentWillReceiveProps is deprecated, I think it's ok to do setState in componentDidUpdate like this.
- Loading branch information
Showing
1 changed file
with
21 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters