react/packages/shared
Andrew Clark 11d0781eea Defer useEffect until after paint
Effects scheduled by useEffect should not fire until after the browser
has had a chance to paint. However, they should be fired before any
subsequent mutations.

Also adds useMutationEffect and useLayoutEffect. useMutationEffect fires
during the host update phase. useLayoutEffect fires during the post-
update phase (the same phase as componentDidMount
and componentDidUpdate).
2018-10-29 11:26:53 -07:00
..
__tests__ [schedule] Refactor Schedule, remove React-isms (#13582) 2018-09-14 14:05:55 -07:00
forks Put hooks behind feature flag 2018-10-29 11:26:53 -07:00
ExecutionEnvironment.js Drop the year from Facebook copyright headers and the LICENSE file. (#13593) 2018-09-07 15:11:23 -07:00
HostConfigWithNoHydration.js Drop the year from Facebook copyright headers and the LICENSE file. (#13593) 2018-09-07 15:11:23 -07:00
HostConfigWithNoMutation.js Hide timed-out children instead of deleting them so their state is preserved (#13823) 2018-10-18 15:37:16 -07:00
HostConfigWithNoPersistence.js Hide timed-out children instead of deleting them so their state is preserved (#13823) 2018-10-18 15:37:16 -07:00
ReactElementType.js Drop the year from Facebook copyright headers and the LICENSE file. (#13593) 2018-09-07 15:11:23 -07:00
ReactErrorUtils.js Drop the year from Facebook copyright headers and the LICENSE file. (#13593) 2018-09-07 15:11:23 -07:00
ReactFeatureFlags.js Put hooks behind feature flag 2018-10-29 11:26:53 -07:00
ReactInstanceMap.js Drop the year from Facebook copyright headers and the LICENSE file. (#13593) 2018-09-07 15:11:23 -07:00
ReactLazyComponent.js Unfork Lazy Component Branches (#13902) 2018-10-19 22:22:45 -07:00
ReactPortal.js Drop the year from Facebook copyright headers and the LICENSE file. (#13593) 2018-09-07 15:11:23 -07:00
ReactSharedInternals.js Drop the year from Facebook copyright headers and the LICENSE file. (#13593) 2018-09-07 15:11:23 -07:00
ReactSideEffectTags.js Defer useEffect until after paint 2018-10-29 11:26:53 -07:00
ReactSymbols.js pure -> memo (#13905) 2018-10-20 12:46:23 -04:00
ReactTreeTraversal.js Drop the year from Facebook copyright headers and the LICENSE file. (#13593) 2018-09-07 15:11:23 -07:00
ReactTypes.js Remove unstable_read() in favor of direct dispatcher call (#13861) 2018-10-16 14:58:00 -04:00
ReactVersion.js Updating package versions for release 16.6.0 2018-10-23 16:23:41 -07:00
ReactWorkTags.js [Synchronous Suspense] Suspending a class outside concurrent mode (#13926) 2018-10-23 11:36:56 -07:00
describeComponentFrame.js Drop the year from Facebook copyright headers and the LICENSE file. (#13593) 2018-09-07 15:11:23 -07:00
getComponentName.js pure -> memo (#13905) 2018-10-20 12:46:23 -04:00
invariant.js Drop the year from Facebook copyright headers and the LICENSE file. (#13593) 2018-09-07 15:11:23 -07:00
invokeGuardedCallbackImpl.js Restore global window.event after event dispatching (#13688) (#13697) 2018-09-25 16:24:23 +01:00
isTextInputElement.js Drop the year from Facebook copyright headers and the LICENSE file. (#13593) 2018-09-07 15:11:23 -07:00
isValidElementType.js pure -> memo (#13905) 2018-10-20 12:46:23 -04:00
lowPriorityWarning.js Drop the year from Facebook copyright headers and the LICENSE file. (#13593) 2018-09-07 15:11:23 -07:00
package.json Drop Haste (#11303) 2017-10-25 02:55:00 +03:00
reactProdInvariant.js fix typo (#13955) 2018-10-27 09:59:00 -07:00
shallowEqual.js Drop the year from Facebook copyright headers and the LICENSE file. (#13593) 2018-09-07 15:11:23 -07:00
warning.js Drop the year from Facebook copyright headers and the LICENSE file. (#13593) 2018-09-07 15:11:23 -07:00
warningWithoutStack.js Fix IE version in comment 2018-09-12 15:10:28 +01:00