dillon1000/react
Commit
Browse files Initialize useMemoCache with sentinel values (#25465)
* Flush out useMemoCache API * rename symbol * rename symbol.for string name * workaround symbol export not working in unit tests
Changed paths6 files
First-parent comparisonpackages/react-reconciler/src/ReactFiberHooks.new.js ModifiedM packages/react-reconciler/src/ReactFiberHooks.old.js ModifiedM packages/react-reconciler/src/__tests__/useMemoCache-test.js ModifiedM packages/react-server/src/ReactFizzHooks.js ModifiedM packages/react-server/src/ReactFlightHooks.js ModifiedM packages/shared/ReactSymbols.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…