dillon1000/react
Commit
Browse files feat: honor displayName of context types (#18035)
* test: Add test for current behavior of displayName * feat: consider displayName of context types
Changed paths3 files
First-parent comparisonpackages/react/src/ReactContext.js ModifiedM packages/react/src/__tests__/ReactContextValidator-test.js ModifiedM packages/shared/getComponentName.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…