dillon1000/react

Commit

Add test coverage for readContext() on the server (#14649)

* Rename context variables

I just spent half an hour debugging why readContext(PurpleContext) doesn't work.

* Add test coverage for readContext() on the server
Browse files
Changed paths1 file
First-parent comparison
M packages/react-dom/src/__tests__/ReactDOMServerIntegrationNewContext-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…