dillon1000/react

Commit

React.lazy (#13398)

Lazily starts loading a component the first time it's rendered. The
implementation is fairly simple and could be left to userspace, but since
this is an important use case, there's value in standardization.
Browse files
Changed paths3 files
First-parent comparison
M packages/react-reconciler/src/__tests__/ReactSuspense-test.internal.js ModifiedM packages/react/src/React.js ModifiedA packages/react/src/ReactLazy.js Added
Patch

Files changed

Rendering syntax-highlighted changes…