dillon1000/react

Commit

feat: honor displayName of context types (#18035)

* test: Add test for current behavior of displayName
* feat: consider displayName of context types
Browse files
Changed paths3 files
First-parent comparison
M packages/react/src/ReactContext.js ModifiedM packages/react/src/__tests__/ReactContextValidator-test.js ModifiedM packages/shared/getComponentName.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…