react/packages
Evan Jacobs e49f3ca08e honor displayName set on ForwardRef if available (#13615)
* add failing test

* honor displayName set on ForwardRef if available

Since React.forwardRef returns a component object, some users
(including styled-components and react-native) are starting to
decorate them with various statics including displayName.

This adjusts React's various name-getters to honor this if set and
surface the name in warnings and hopefully DevTools.

* fix typing

* Refine later
2018-09-11 20:19:54 +01:00
..
create-subscription Drop the year from Facebook copyright headers and the LICENSE file. (#13593) 2018-09-07 15:11:23 -07:00
events Remove injectComponentTree from unstable-native-dependencies, add EventPluginHub (#13598) 2018-09-08 12:07:59 -07:00
react honor displayName set on ForwardRef if available (#13615) 2018-09-11 20:19:54 +01:00
react-art Drop the year from Facebook copyright headers and the LICENSE file. (#13593) 2018-09-07 15:11:23 -07:00
react-dom Fix a regression related to isReactComponent prototype check (#13608) 2018-09-10 17:54:45 +01:00
react-is Drop the year from Facebook copyright headers and the LICENSE file. (#13593) 2018-09-07 15:11:23 -07:00
react-native-renderer Manually update schedule dep in react-native-renderer (#13609) 2018-09-10 11:07:08 -07:00
react-noop-renderer Fix host bailout for the persistent mode (#13611) 2018-09-10 19:05:40 +01:00
react-reconciler Fix host bailout for the persistent mode (#13611) 2018-09-10 19:05:40 +01:00
react-test-renderer Enable no-use-before-define rule (#13606) 2018-09-10 16:15:18 +01:00
schedule Improve DX when combining react-dom/profiling and schedule/tracking (#13605) 2018-09-10 08:32:56 -07:00
shared honor displayName set on ForwardRef if available (#13615) 2018-09-11 20:19:54 +01:00
simple-cache-provider Drop the year from Facebook copyright headers and the LICENSE file. (#13593) 2018-09-07 15:11:23 -07:00