Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(dev-tools): fix show correct displayName with forwardRef in Dev T…
…ools (#17613) * fix(dev-tools): fix show correct displayName with forwardRef in Dev Tools allow set `displayName` after `React.forwardRef()`, makesure Dev Tools show displayName as same as `getWrappedName` in `shared/getComponentName.js` * Removed a little unnecessary/redundant code. * Fixed lint error (removed unused var)
- Loading branch information