Commit Graph

  • fd1256a561 Add Debug Tools Package for Introspection of Hooks (#14085) Sebastian Markbåge 2018-11-05 10:02:59 -08:00
  • b305c4e034 fix(react-dom): Fix crash during server render (#14103) Tiago Nunes 2018-11-05 17:08:07 +00:00
  • ce90ffd045 update the benchmark script (#13994) Keyan Zhang 2018-11-05 07:55:46 -08:00
  • d34d1c3bae react-reconciler: Update README.md (#13953) Marcelo Jorge Vieira 2018-11-05 13:55:23 -02:00
  • 6c404d82aa Bugfix: Add back early return in setOffsets which was removed between 16.4.2 and 16.5.0. Fails in Edge in some scenarios. (#14095) einarq 2018-11-05 16:19:50 +01:00
  • 8eca0eff87 chore(tests): don't rely on jest fake timers scheduling real timers (#14003) Simen Bekkhus 2018-11-03 08:54:23 +11:00
  • 293fed8993 Warn for bad useEffect return value (#14069) Sophie Alpert 2018-11-02 14:43:45 -07:00
  • ae196e84b6 Rename inputsAreEqual to areHookInputsEqual & move it to shared (#14036) Mateusz Burzyński 2018-11-02 20:50:23 +01:00
  • c898020e01 Warn for forwardRef(memo(...)) (#14070) Sophie Alpert 2018-11-02 12:32:44 -07:00
  • c84b9bf828 Tweak error message for missing fallback (#14068) Sophie Alpert 2018-11-01 22:45:23 -07:00
  • 595b4f945b Remove duplicate import declarations (#14062) Chris Bianca 2018-11-01 13:31:46 +00:00
  • d5d10d140e Simplify imports in react reconciler (#13718) Maksim Markelov 2018-11-01 07:12:51 +03:00
  • cdbfa6b5dd [react-is] add back proper AsyncMode symbol, for back compat (#13959) Jordan Harband 2018-10-31 12:03:50 -07:00
  • 1ae3f29c20 Fix react-cache UMD build (#14047) Brian Vaughn 2018-10-31 11:16:03 -07:00
  • 3db8b80e15 Don't lint against Hooks after conditional throw (#14040) Sophie Alpert 2018-10-30 17:13:24 -07:00
  • 169f935f78 Flip expiration times (#13912) Sophie Alpert 2018-10-30 15:26:20 -07:00
  • bf9fadfcf4 [Hooks] Remove dispatch callbacks (#14037) Andrew Clark 2018-10-30 14:14:20 -07:00
  • 8c67bbf183 [scheduler] Deadline object -> shouldYield (#14025) Andrew Clark 2018-10-30 13:47:51 -07:00
  • e02086bfcc Warn about variable number of dependencies Andrew Clark 2018-10-29 13:38:54 -07:00
  • b92cdef641 Rename ReactHooks test suite Andrew Clark 2018-10-29 13:36:41 -07:00
  • 6efbbe0685 Prettier Sophie Alpert 2018-10-29 12:29:41 -07:00
  • 5045763064 Swap order of function member in hook union types Andrew Clark 2018-10-29 11:39:04 -07:00
  • ddbfe2ed50 Add ESLint rule for React Hooks Caleb Meredith 2018-10-23 12:35:56 -07:00
  • acb4899637 Clear effect tags from a fiber that suspends in non-concurrent mode Andrew Clark 2018-10-23 00:41:22 -07:00
  • 933b64710a Disable hook update callback (2nd arg to setState/dispatch) Andrew Clark 2018-10-20 15:01:40 -07:00
  • 5fc84efacc Skip updating effect tag when skipping effect Sophie Alpert 2018-10-16 13:02:02 -07:00
  • 9f34eb79a3 Add readContext to ReactPartialRendererHooks Alex Taylor 2018-10-11 10:17:39 -07:00
  • f7cb9d2b22 Warn about useContext(Consumer|Provider) Dan Abramov 2018-10-15 18:31:14 -04:00
  • 63cc7d2b31 Test useContext in pure, forwardRef, and PureComponent Dan Abramov 2018-10-15 17:20:05 -04:00
  • 3a7c6da8d4 Make effects actually work with memo Sophie Alpert 2018-10-13 16:02:38 -07:00
  • 75a1c2e72a The Lost Effect, chapter 3 Sophie Alpert 2018-10-12 18:04:49 -07:00
  • 55a4b1f377 memo supports Hooks Sophie Alpert 2018-10-11 13:54:50 -07:00
  • 30aa4ad554 The Lost Effect, chapter 2 Sophie Alpert 2018-10-10 15:41:46 -07:00
  • b772e0e26b "functional component" -> "function component" in hooks error messages Sebastian Markbåge 2018-10-09 02:20:48 +01:00
  • 9e9e3970e4 Warn for Hook set-state on unmounted component Sophie Alpert 2018-10-05 15:32:15 -07:00
  • 6514697f0c Make sure deletions don't stop passive effects Sophie Alpert 2018-10-03 18:31:35 -07:00
  • dd019d34db Add support for hooks to ReactDOMServer Alex Taylor 2018-09-30 18:32:11 -06:00
  • 11d0781eea Defer useEffect until after paint Andrew Clark 2018-09-23 18:12:46 -07:00
  • 105f2de545 Put hooks behind feature flag Andrew Clark 2018-09-05 17:20:13 -07:00
  • 7bee9fbdd4 Initial hooks implementation Andrew Clark 2018-09-05 11:29:08 -07:00
  • 37c7fe0a5f Update createRoot warning message based on enableStableConcurrentModeAPIs (#14017) Rauno Freiberg 2018-10-29 20:25:24 +02:00
  • ae4f3f07e5 Remove extraneous CSS selector (#13996) Jeffrey Zhang 2018-10-28 04:01:25 +11:00
  • 95f98a1873 fix typo (#13955) Joseph 2018-10-27 19:59:00 +03:00
  • e217f2f1ac Updated comment for getEventModifierState (#13918) Patrick 2018-10-27 09:52:01 -07:00
  • 275e76e83b Enable stable concurrent APIs flag for 16.7 alpha (#13928) Brian Vaughn 2018-10-24 13:45:07 -07:00
  • b5539ad628 It's Concurrent Dan Abramov 2018-10-23 19:26:00 -07:00
  • 0cc50b675a Fix scheduler fixture Dan Abramov 2018-10-23 16:35:07 -07:00
  • 8b97a9c36f Update bundle sizes for 16.6.0 release v16.6.0 Dan Abramov 2018-10-23 16:29:35 -07:00
  • c8ade996e9 Update error codes for 16.6.0 release Dan Abramov 2018-10-23 16:29:35 -07:00
  • 6c29eabf78 Updating package versions for release 16.6.0 Dan Abramov 2018-10-23 16:23:41 -07:00
  • d520b358d6 Revert all package versions to 16.5.2 state Dan Abramov 2018-10-23 16:18:26 -07:00
  • 8f1ec7649e Bump versions to beta.0 Dan Abramov 2018-10-23 16:01:57 -07:00
  • 5055a83fa4 Revert "Revert "Updating dependencies for react-noop-renderer"" Dan Abramov 2018-10-23 15:59:36 -07:00
  • 3e8b4a5b8b Revert "Updating dependencies for react-noop-renderer" Brian Vaughn 2018-10-23 15:36:31 -07:00
  • ff5efb0390 Prettier Brian Vaughn 2018-10-23 15:06:58 -07:00
  • f4488bee51 Add skipCI flag to release script (#13933) Brian Vaughn 2018-10-23 15:05:14 -07:00
  • d42ed60026 Fix Suspense fixture (#13932) Dan Abramov 2018-10-23 18:03:22 -04:00
  • d8e03de4aa [react-cache] Remove cache as argument to read (#13865) Andrew Clark 2018-10-23 14:38:51 -07:00
  • fefa1269e2 Revert accidentally committed existence check (#13931) Andrew Clark 2018-10-23 14:27:04 -07:00
  • 80a0c05ce3 Removed react-cache from the bundle list for now (#13930) Brian Vaughn 2018-10-23 13:55:52 -07:00
  • 915e4eab53 Add "unstable_" prefix to react-cache and jest-react (#13929) Brian Vaughn 2018-10-23 13:55:37 -07:00
  • 508b5fba0e Fix Markdown Dan Abramov 2018-10-23 12:16:13 -07:00
  • c285ea2700 Tweak changelog credits Dan Abramov 2018-10-23 12:15:57 -07:00
  • eac092ecac Add 16.6.0 changelog (#13927) Dan Abramov 2018-10-23 15:08:08 -04:00
  • cbbc2b6c4d [Synchronous Suspense] Suspending a class outside concurrent mode (#13926) Andrew Clark 2018-10-23 11:36:56 -07:00
  • 4947fcd762 Fix lint (#13923) Sebastian Markbåge 2018-10-22 22:47:39 -07:00
  • d75c69e0cf Remove unstable_ prefix from Suspense (#13922) Sebastian Markbåge 2018-10-22 22:40:05 -07:00
  • c8ef2feda9 Remove redundant word "the" (#13919) John Lin 2018-10-23 13:39:23 +08:00
  • 55444a6f49 Try rendering again if a timed out tree receives an update (#13921) Andrew Clark 2018-10-22 22:37:15 -07:00
  • 04c4f2fcea [reconciler] ReactFiberNewContext import maxSigned31BitInt twice (#13857) yongningfu 2018-10-22 23:24:44 +08:00
  • 409e472fca Add flow types in ReactControlledComponent (#13669) Abdul Rauf 2018-10-22 00:35:35 +05:00
  • 663835a43a Add flow types in getEventModifierState (#13909) Abdul Rauf 2018-10-21 23:20:50 +05:00
  • 82710097f6 Add flow types in getNodeForCharacterOffset (#13908) Abdul Rauf 2018-10-21 23:18:32 +05:00
  • 7ebd90c2c3 [minor bugfix] fix minor bug with handleReset in suspense fixture (#13843) shawn wang 2018-10-21 14:16:44 -04:00
  • 420001cb4e Fix babel-preset-fbjs configure link in comment (#13666) Abdul Rauf 2018-10-21 22:23:24 +05:00
  • b753f76a74 Fix failing async tests in Node 10 Andrew Clark 2018-10-20 16:06:23 -07:00
  • d37f595595 Add use strict to .prettierrc.js (#13787) ZYSzys 2018-10-21 05:42:11 +08:00
  • b5c0852fdd Bump version to 16.6.0-beta.0 (#13906) Dan Abramov 2018-10-20 13:03:15 -04:00
  • 769b1f270e pure -> memo (#13905) Dan Abramov 2018-10-20 12:46:23 -04:00
  • 8ecd4bd4f0 Add support for React.pure in ReactDOMServer (#13855) Alex Taylor 2018-10-20 00:42:33 -07:00
  • 4c67be212d Fix lint after automated replacements yeswork Sophie Alpert 2018-10-20 00:33:18 -07:00
  • 15b11d23f9 Allow arbitrary types to be wrapped in pure (#13903) Sebastian Markbåge 2018-10-20 00:32:16 -07:00
  • 93e0bdf2ee Remove unnecessary comparisons Sophie Alpert 2018-10-20 00:31:21 -07:00
  • a684f09e58 Make NoWork big instead of small Sophie Alpert 2018-10-19 23:48:28 -07:00
  • e770af7a3a Add back accidentally deleted break to prevent fallthrough Andrew Clark 2018-10-19 22:47:37 -07:00
  • 95a313ec0b Unfork Lazy Component Branches (#13902) Sebastian Markbåge 2018-10-19 22:22:45 -07:00
  • e16cdd5b17 Always bail out timed out children even if they receive an update (#13901) Andrew Clark 2018-10-19 20:31:44 -07:00
  • 7268d97d2b Centralize props memoization (#13900) Sebastian Markbåge 2018-10-19 20:12:02 -07:00
  • 0fc0446798 Class component can suspend without losing state outside concurrent mode (#13899) Andrew Clark 2018-10-19 18:41:47 -07:00
  • 36db538226 Bugfix for #13886 (#13896) Andrew Clark 2018-10-19 13:57:42 -07:00
  • 6938dcaacb SSR support for class contextType (#13889) Sebastian Markbåge 2018-10-19 11:18:32 -07:00
  • fa65c58e15 Add readContext to SSR (#13888) Sebastian Markbåge 2018-10-18 20:20:03 -07:00
  • d9a3cc070c React.lazy constructor must return result of a dynamic import (#13886) Andrew Clark 2018-10-18 19:58:25 -07:00
  • d9659e499e Lazy components must use React.lazy (#13885) Andrew Clark 2018-10-18 19:57:12 -07:00
  • 0648ca618d Revert "React.pure automatically forwards ref" (#13887) Sophie Alpert 2018-10-18 18:53:10 -07:00
  • 4dd772ac10 Prettier :( Andrew Clark 2018-10-18 18:38:44 -07:00
  • 98bab66c35 Fix lint Andrew Clark 2018-10-18 18:06:39 -07:00
  • 8ced545e3d Suspense component does not capture if fallback is not defined (#13879) Andrew Clark 2018-10-18 16:07:22 -07:00
  • b738ced477 Remove render prop option from Suspense (#13880) Andrew Clark 2018-10-18 15:48:11 -07:00
  • 55b8279423 Strict mode and default mode should have same Suspense semantics (#13882) Andrew Clark 2018-10-18 15:42:40 -07:00