Commit Graph

  • a60c8e139a Renamed app.js to App.js for consistency Brian Vaughn 2019-01-30 10:49:50 -08:00
  • 037071c0e1 Remove root from "roots" list on unmount Brian Vaughn 2019-01-30 10:41:53 -08:00
  • 1f46df66cb Tidying up Brian Vaughn 2019-01-30 10:38:52 -08:00
  • 70d4075832 Move Hook mismatch warning to first mismatch site (#14720) Andrew Clark 2019-01-30 08:11:18 -08:00
  • ba6477aa3c Improve Reducer Hook's lazy init API (#14723) Andrew Clark 2019-01-29 17:39:24 -08:00
  • cb1ff430e8 Phased dispatcher (#14701) Andrew Clark 2019-01-29 16:32:15 -08:00
  • f542f879d6 Added inline comments for types Brian Vaughn 2019-01-29 14:04:00 -08:00
  • fc4af4d018 Fixed text wrap bug in extension panel Brian Vaughn 2019-01-29 13:48:35 -08:00
  • fdfadef928 Refactored bridge to support transferrables (e.g. typed array buffers) and added transferable param to postMessage for op codes Brian Vaughn 2019-01-29 13:17:37 -08:00
  • 3f93b029a4 Replaced node objects with typed array of tree operations; windowing works in small test harness Brian Vaughn 2019-01-28 15:50:48 -08:00
  • c9a5f8cc29 Stashing partial windowing implementation Brian Vaughn 2019-01-27 16:04:17 -08:00
  • b7cbd38214 Misc updates to better handle tearing and add some future TODOs Brian Vaughn 2019-01-27 07:58:09 -08:00
  • 9d483dcfd6 Spelling abitrarily -> arbitrarily (#14710) Peter Donald 2019-01-28 01:54:37 +11:00
  • 6d5ea54eee change codeofconduct link (#14711) DeepCold 2019-01-27 22:54:21 +08:00
  • e19c9e1064 Fix issue with multiple code branches in hooks linter (#14661) Yurick 2019-01-25 15:06:33 -02:00
  • f11a9c1cb0 State update bug in concurrent mode (#14698) Brian Vaughn 2019-01-24 16:10:13 -08:00
  • 13ca26e153 Removed throttling. It's too error prone because of mutations (Fibers). We'll optimize later by using the effects list for updates. Brian Vaughn 2019-01-24 13:45:29 -08:00
  • e679a4b6e2 Fix typo in code comment (#14696) Greg Hurrell 2019-01-24 21:19:53 +01:00
  • 8bcc88f2e7 Make all readContext() and Hook-in-a-Hook checks DEV-only (#14677) Dan Abramov 2019-01-24 19:31:20 +00:00
  • d57ec69561 Added initial Chrome/Firefox shells Brian Vaughn 2019-01-23 18:06:21 -08:00
  • 6cb26774e2 Enable hooks! (#14679) Brian Vaughn 2019-01-23 13:28:09 -08:00
  • 73962c3664 Revert "Revert "Double-render function components with Hooks in DEV in StrictMode" (#14652)" (#14654) Dan Abramov 2019-01-23 19:12:18 +00:00
  • 9944392285 Put DEV-only code into DEV blocks (#14673) Dan Abramov 2019-01-23 16:59:55 +00:00
  • f881c32304 Added Prettier (and formatted code) Brian Vaughn 2019-01-23 08:45:19 -08:00
  • d02b4a2784 Throttle bridge traffic for Elements tree updates Brian Vaughn 2019-01-23 08:27:40 -08:00
  • f0befae657 Tweak context invariant message (#14671) Dan Abramov 2019-01-23 16:14:32 +00:00
  • a129259ad6 Disallow reading context during useMemo etc (#14653) Dan Abramov 2019-01-23 15:51:57 +00:00
  • c068d31cca Add unit tests for concurrent mode event dispatching (#14415) Sebastian Markbåge 2019-01-23 07:28:19 -08:00
  • db695c4d32 Bump GCC (#14657) Dan Abramov 2019-01-23 14:28:03 +00:00
  • 38247cba36 --save is no longer needed (#14302) SamCortopassi 2019-01-23 08:13:05 -06:00
  • 3f0bcaf0db Importing React for the first example. (#14346) Ramón Chancay Ortega 2019-01-23 09:10:03 -05:00
  • ecd919a2f9 RFC: warn when returning different hooks on subsequent renders (#14585) Sunil Pai 2019-01-22 22:40:07 +00:00
  • 7b9a8e9843 Added a super basic README Brian Vaughn 2019-01-22 11:07:56 -08:00
  • 5e0dfdac54 Initial commit Brian Vaughn 2019-01-22 11:04:37 -08:00
  • 3fbebb2a0b Revert "Double-render function components with Hooks in DEV in StrictMode" (#14652) Dan Abramov 2019-01-21 20:34:38 +00:00
  • 5fce6488ce Revert "Disallow reading context during useMemo etc" (#14651) Dan Abramov 2019-01-21 20:28:36 +00:00
  • fe2ecd276e Add test coverage for readContext() on the server (#14649) Dan Abramov 2019-01-21 19:55:26 +00:00
  • 8f45a7fdc4 Warn about incorrect use of useImperativeHandle() (#14647) Dan Abramov 2019-01-21 19:44:18 +00:00
  • 1fcbd22431 Disallow reading context during useMemo etc (#14648) Dan Abramov 2019-01-21 19:06:09 +00:00
  • 2a084f51a9 Warn about refs on lazy function components (#14645) Dan Abramov 2019-01-21 16:57:55 +00:00
  • b5a3df6e88 Fix typo (#14560) Linchengyi 2019-01-22 00:18:29 +08:00
  • 9c146e6751 fix typo (#14316) liunian 2019-01-22 00:18:02 +08:00
  • baa6d40fc8 Mention forwardRef() in <Fn ref={...} /> errors and warnings (#14644) Dan Abramov 2019-01-21 16:01:48 +00:00
  • a1414e8949 Double-render function components with Hooks in DEV in StrictMode (#14643) Dan Abramov 2019-01-21 15:35:47 +00:00
  • 10a7a5b5ce Fix synchronous thenable rejection (#14633) Dan Abramov 2019-01-19 00:42:43 +00:00
  • a2fa6eb98d Move lazy._result assignment (#14632) Dan Abramov 2019-01-18 21:57:26 +00:00
  • 9120f6c2d8 Support sync thenables for lazy() (#14626) Dan Abramov 2019-01-18 21:16:02 +00:00
  • b66e6e41e6 Add directory details to the package.json of all packages (#14628) Grey Baker 2019-01-18 20:21:12 +00:00
  • 8c1614a2fd Tidy up NPM checkout process (#14631) Brian Vaughn 2019-01-18 11:40:50 -08:00
  • 177fb76353 Warn when second callback is passed to setState/dispatch in Hooks (#14625) Dan Abramov 2019-01-18 18:48:58 +00:00
  • d17d0b99c1 Use public context.report interface in eslint rules (#14623) Sebastian Silbermann 2019-01-18 10:26:11 +01:00
  • 4f332885a2 Fix shallow renderer set instance state after gDSFP before calling sCU (#14613) Yi-Shan, Chen 2019-01-18 10:31:14 +08:00
  • e1cd83e49d Throw an error when using hooks inside useMemo/useState/useReducer, or .memo's comparator (#14608) Sunil Pai 2019-01-18 02:15:21 +00:00
  • be457ca685 Small tweaks to SSR to match #14594 (#14618) Dan Abramov 2019-01-18 00:52:13 +00:00
  • 17d70df919 Warn when mixing createRoot() and old APIs (#14615) Dan Abramov 2019-01-18 00:20:21 +00:00
  • 4846809370 Prune NPM metadata fields from packages before re-publishing (#14617) Brian Vaughn 2019-01-17 14:34:34 -08:00
  • 4feab7fc92 Add hooks support to ReactShallowRenderer (#14567) Dominic Gannaway 2019-01-17 17:42:27 +00:00
  • 1454a8be03 Don't bother comparing constructor when deps are not provided (#14594) Andrew Clark 2019-01-16 17:53:48 -08:00
  • 71b64d5211 Warn if number of hooks increases (#14591) Andrew Clark 2019-01-16 17:25:32 -08:00
  • 790c8ef041 Allow useReducer to bail out of rendering by returning previous state (#14569) Andrew Clark 2019-01-16 17:23:35 -08:00
  • 8a120095bf Add ESLint rule playground (#14609) Dan Abramov 2019-01-16 23:52:33 +00:00
  • 7ab8a8e979 Added Flow type to keep hooks dispatchers in-sync (#14599) Brian Vaughn 2019-01-16 12:49:31 -08:00
  • f8aba411fb Make tests pass with different API names v16.8.0-alpha.1 Dan Abramov 2019-01-09 19:47:46 +00:00
  • d6f479066c Prepare 16.8 alpha Dan Abramov 2019-01-09 18:47:59 +00:00
  • 4392e3821d useDebugValue should throw if used in a class component (#14601) Brian Vaughn 2019-01-15 13:49:39 -08:00
  • 153a0b5980 Add noop useDebugValue hook to partial/server renderer (#14597) Brian Vaughn 2019-01-15 11:00:03 -08:00
  • 0ca628b216 Rename release script fixture test scheduler->tracing (#14590) Brian Vaughn 2019-01-14 17:52:03 -08:00
  • 7ad9806d11 Tweak to avoid property read (#14593) Brandon Dail 2019-01-14 17:39:27 -08:00
  • 0fc1547513 Avoid new Set([iterable]) for thenables (#14592) Brandon Dail 2019-01-14 17:00:15 -08:00
  • edb1f59564 Support configurable labels for custom hooks (#14559) Brian Vaughn 2019-01-14 14:53:22 -08:00
  • 3e15b1c690 make a fork for ReactCurrentDispatcher (#14588) Sunil Pai 2019-01-14 16:35:56 +00:00
  • 0005d1e3f5 Fix typo (#14576) Carl Mungazi 2019-01-12 05:46:05 +00:00
  • f290138d32 react-debug-tools accepts currentDispatcher ref as param (#14556) Brian Vaughn 2019-01-10 12:56:52 -08:00
  • b4ad8e9471 rename useImperativeMethods -> useImperativeHandle (#14565) Sunil Pai 2019-01-10 13:37:50 +00:00
  • ab03e3d651 Inject ReactCurrentDispatcher ref to DevTools (#14550) Brian Vaughn 2019-01-08 21:25:26 -08:00
  • 19ef0ec116 Separate current owner and dispatcher (#14548) Brian Vaughn 2019-01-08 14:39:52 -08:00
  • a9b035b0c2 Separate Object.is polyfill (#14334) Maksim Markelov 2019-01-08 17:21:12 +03:00
  • 547e059f0b Simplify wording of key warning (#14503) Sophie Alpert 2019-01-07 08:30:23 -08:00
  • 3494ee57e6 Update ReactUpdateQueue.js (#14521) Carl Mungazi 2019-01-02 20:53:05 +00:00
  • fef40c061e Allow node 11 as devEngine (#14450) Ilja Daderko 2018-12-25 19:05:31 +02:00
  • 659c13963e Update ReactFiberScheduler.js (#14477) Carl Mungazi 2018-12-20 16:51:47 +00:00
  • 84b86471ea Update CHANGELOG for 16.7 Andrew Clark 2018-12-19 17:29:25 -08:00
  • c695b2384f React v16.7.0 Andrew Clark 2018-12-19 17:23:14 -08:00
  • 1c5aa2f23a Move SchedulerFeatureFlags fork to src directory to fix lint Andrew Clark 2018-12-18 11:09:44 -08:00
  • 653bc582f9 Create separate SchedulerFeatureFlags instead of using ReactFeatureFlags (#14455) Andrew Clark 2018-12-17 17:55:34 -08:00
  • 8bfef0da55 Make scheduler debugging feature flag static Andrew Clark 2018-12-17 16:50:38 -08:00
  • 4a1072194f Memoize promise listeners to prevent exponential growth (#14429) v16.7.0 Andrew Clark 2018-12-14 11:03:23 -08:00
  • 535804f5c8 Removed Fabric-specific feature flag files and updated Rollup to use the (non-Fabric) React Native flag files. (#14437) Brian Vaughn 2018-12-14 07:54:46 -08:00
  • 2743fb7b23 Enable hooks by default for FB React Native renderer (#14435) Brian Vaughn 2018-12-13 13:20:23 -08:00
  • 7325ebe4d6 Inject overrideProps() fn to DevTools (#14427) Brian Vaughn 2018-12-13 09:40:59 -08:00
  • a22880e5e5 Add support for Suspense & lazy() to the react-is package (#14423) Pleun Vanderbauwhede 2018-12-12 19:56:52 +01:00
  • 947bddd5cf Remove redundant argument of getPlugins function (#14419) Heaven 2018-12-13 02:07:07 +08:00
  • ce43a8cd07 Updated version incrementing suggestion in release script based on team discussion (#14389) Brian Vaughn 2018-12-07 09:08:39 -08:00
  • f64906fba1 Dangerfile exits early if build failed (#14400) Brian Vaughn 2018-12-07 09:06:47 -08:00
  • 8df4d59be5 Implement pauseExecution, continueExecution, dumpQueue for Scheduler (#14053) Kevin Chavez 2018-12-06 13:57:23 -08:00
  • 5bb4ad7376 Added ErrorBoundary tests for useEffect and useLayoutEffect (#14401) Brian Vaughn 2018-12-06 13:55:38 -08:00
  • 98eb5ae531 TestRenderer toJSON should not expose the Array wrapper Suspense uses for hidden trees (#14392) Brian Vaughn 2018-12-05 11:09:51 -08:00
  • 39489e7674 Enable hooks in fabric (#14301) Spencer Ahrens 2018-12-04 19:34:52 -08:00
  • 1dc108e582 Tweaked wording for v8 "performance cliff" issue Brian Vaughn 2018-12-04 07:49:33 -08:00
  • d9871729c8 fix spelling error: differen -> different (#14378) AGCB 2018-12-03 23:29:29 -08:00