Commit Graph

  • 1a902623a8 Unwrap sync resolved thenables without suspending (#25615) Andrew Clark 2022-11-02 10:53:23 -07:00
  • 4ea063b56f refactor isHostResourceType to not receive the context from reconciler and not leak types (#25610) Josh Story 2022-11-01 17:14:46 -07:00
  • 8e69bc45aa Make host context use null as empty and only error in dev (#25609) Sebastian Markbåge 2022-11-01 19:02:37 -04:00
  • 5f7ef8c4cb [Float] handle resource Resource creation inside svg context (#25599) Josh Story 2022-11-01 14:57:45 -07:00
  • 36426e6cb6 Allow uncached IO to stablize (#25561) Andrew Clark 2022-11-01 12:00:34 -07:00
  • 6883d79445 [ServerRenderer] Setup for adding data attributes streaming format (#25567) mofeiZ 2022-11-01 12:04:50 -04:00
  • ab075a2324 Do not unmount layout effects on initial Offscreen mount (#25592) Samuel Susla 2022-11-01 15:11:28 +00:00
  • 765805bf88 Fix type check for null (#25595) Sebastian Markbåge 2022-10-31 17:29:01 -04:00
  • 2ac77aab94 Clean up vestige of useOpaqueIdentifier (#25587) Andrew Clark 2022-10-29 17:46:54 -07:00
  • bdd3d0807c Extract logic for detecting bad fallback to helper Andrew Clark 2022-10-24 10:47:29 -07:00
  • 952dfff3f1 Split suspended work loop logic into separate functions Andrew Clark 2022-10-24 13:23:27 -07:00
  • d2c0ab10de In work loop, add enum of reasons for suspending Andrew Clark 2022-10-24 10:13:26 -07:00
  • 5450dd4098 Strict Mode: Reuse memoized result from first pass (#25583) Andrew Clark 2022-10-28 14:46:20 -07:00
  • d2a0176a13 Detect and warn if use(promise) is wrapped with try/catch block (#25543) Andrew Clark 2022-10-28 14:46:03 -07:00
  • cf3932be5c Remove old react-fetch, react-fs and react-pg libraries (#25577) Sebastian Markbåge 2022-10-27 17:52:53 -04:00
  • 28a574ea8f Try assigning fetch to globalThis if global assignment fails (#25571) Sebastian Markbåge 2022-10-27 02:43:17 -04:00
  • 09def5990b [Float] handle noscript context for Resources (#25559) Josh Story 2022-10-26 23:11:31 -07:00
  • 17204056d5 [Float] fix coordination of resource identity and hydration (#25569) Josh Story 2022-10-26 19:53:29 -07:00
  • cad26da39c fix build Tianyu Yao 2022-10-25 14:40:39 -07:00
  • fecc288b7d [react devtools] Device storage support (#25452) Robert Balicki 2022-10-25 13:25:33 +11:00
  • d925a8d0be Flight client error stack (#25560) Josh Story 2022-10-24 16:32:33 -07:00
  • 996b00b787 [Tiny] Fixed incorrect import in react-server-dom-webpack (#25554) Leo Lamprecht 2022-10-24 19:40:18 +02:00
  • e7c5af45ce Update cache() and use() to the canary aka next channel (#25502) Sebastian Markbåge 2022-10-23 23:20:52 -04:00
  • fa77f52e74 Unify promise switch statements Andrew Clark 2022-10-22 20:39:19 -04:00
  • 7572e4931f Track thenable state in work loop Andrew Clark 2022-10-22 19:29:58 -04:00
  • 7fc3eefd85 Revert yieldy behavior for non-use Suspense (in Flight, too) Andrew Clark 2022-10-22 22:52:39 -04:00
  • 2c37aa78d3 [Playground] Style compiler options editor Robert Zhang 2022-10-23 18:33:39 -04:00
  • 22cbd97fe5 Update outdated package.json repo url Lauren Tan 2022-11-04 18:13:47 -04:00
  • 285b7e7acb Update outdated fixture snapshots Lauren Tan 2022-11-04 17:59:04 -04:00
  • 24ea3fa4bc Support JSX fragments (#736) Joseph Savona 2022-11-04 11:16:50 -07:00
  • 871a171a1f [hir] Add InferMutableRange pass Sathya Gunasekaran 2022-11-04 16:39:45 +00:00
  • c75a1fe6bb [hir] Add MutableRange to Identifier Sathya Gunasekaran 2022-11-04 16:39:45 +00:00
  • e69888054c [hir] Add id to number Instruction Sathya Gunasekaran 2022-11-04 16:39:44 +00:00
  • e015bf6a7b [test] Add pragma parsing to test runner Sathya Gunasekaran 2022-11-04 16:39:43 +00:00
  • 5f81b7bc30 Replace NodePath with SourceLocation Joseph Savona 2022-11-04 08:55:18 -07:00
  • a9419099b4 Allow fixture tests to be only or skip Lauren Tan 2022-11-03 18:47:02 -04:00
  • acb4999049 Import invariant from CompilerError Lauren Tan 2022-11-03 18:47:00 -04:00
  • 189b22171f [hir] implement nullish coalescing operator Jan Kassens 2022-11-03 10:28:26 -04:00
  • 515c33d2a6 Custom version of no-use-before-define rule Joseph Savona 2022-10-27 16:29:09 -07:00
  • fc1320552b [ssa] Potential improvements to ssa construction Joseph Savona 2022-10-27 13:20:10 -07:00
  • 89151eb487 [ssa][be] Refactor visitedBlocks out of SSABuilder Sathya Gunasekaran 2022-10-27 16:43:41 +01:00
  • 2329326552 [hir] Run SSA pass on all tests Sathya Gunasekaran 2022-10-27 16:43:38 +01:00
  • a5fb869640 [hir] Skip backedges when handling phis Sathya Gunasekaran 2022-10-27 16:43:34 +01:00
  • d9c61bac70 [hir][be] Improve debug printing of invariant Sathya Gunasekaran 2022-10-27 16:43:31 +01:00
  • fd6cb34843 [ssa] Run SSA in RPO traversal Sathya Gunasekaran 2022-10-27 16:43:28 +01:00
  • 15104ab21b [ssa] Infer arguments of a function Sathya Gunasekaran 2022-10-27 15:16:56 +01:00
  • fed106a8eb [ssa][be] Fix printing of SSA blocks Sathya Gunasekaran 2022-10-27 15:16:52 +01:00
  • 97757ea988 [hir] Run SSA pass before InferReferenceEffects pass Sathya Gunasekaran 2022-10-27 15:16:49 +01:00
  • 6b9f07624f [hir] Add support for handling phis in InferReferenceEffects Sathya Gunasekaran 2022-10-27 15:16:46 +01:00
  • de6afc2c52 [ssa] Update lvalue based on whether it has a memberPath or not Sathya Gunasekaran 2022-10-27 14:11:23 +01:00
  • c8aaa7f172 [ssa] Use Identifier for updating SSA Sathya Gunasekaran 2022-10-27 14:11:19 +01:00
  • 588a098149 [hir][be] Remove unused param Sathya Gunasekaran 2022-10-27 14:11:16 +01:00
  • 1396ee28a4 [ssa][be] Refactor to be more idiomatic typescript Sathya Gunasekaran 2022-10-27 14:11:12 +01:00
  • e262d9e5ba only run validation if code is actually transformed Joseph Savona 2022-10-25 08:33:20 -07:00
  • eb13f84b2d [fix] consistently import from react Jan Kassens 2022-10-25 11:00:27 -04:00
  • 34e02dab32 [ssa] Fix lookup of global values Sathya Gunasekaran 2022-10-24 16:04:20 +01:00
  • 75871d7de7 [ssa] Add support for other kinds of Instructions Sathya Gunasekaran 2022-10-24 16:04:19 +01:00
  • bb91cbbf62 [hir][be] Use a Map to store ObjectExpression.properties Sathya Gunasekaran 2022-10-24 16:04:18 +01:00
  • f54d121d71 [hir][be] Use a Map to store JsxExpression.props Sathya Gunasekaran 2022-10-24 16:04:18 +01:00
  • c347e8b6d2 [ssa][be] Delete dead code Sathya Gunasekaran 2022-10-24 15:49:49 +01:00
  • 152c3e81d3 [hir][be] Use .kind() to update and find ValueKind Sathya Gunasekaran 2022-10-24 15:49:45 +01:00
  • 61f9b5e97b [Float] support <base> as Resource (#25546) Josh Story 2022-10-23 15:03:52 -07:00
  • 1d3fc9c9c4 Bug fix when resolving cache (#25545) Sebastian Markbåge 2022-10-23 14:12:47 -04:00
  • cce18e3504 [Flight] Use AsyncLocalStorage to extend the scope of the cache to micro tasks (#25542) Sebastian Markbåge 2022-10-23 01:06:58 -04:00
  • caa84c8da0 Revert fetch instrumentation to only RSC (#25540) Sebastian Markbåge 2022-10-22 22:58:30 -04:00
  • 0c11baa6ab add warnings for non-resources rendered outside body or head (#25532) Josh Story 2022-10-22 15:19:42 -07:00
  • 9236abdb5a when float is enabled only push title and script as a single unit (#25536) Josh Story 2022-10-22 15:11:26 -07:00
  • dd5c208257 Revert yieldy behavior for non-use Suspense (#25537) Andrew Clark 2022-10-22 17:52:20 -04:00
  • 934177598e fix transposed escape functions (#25534) Josh Story 2022-10-22 09:56:40 -07:00
  • d1ced9fd58 [Float] support all links as Resources (#25515) Josh Story 2022-10-21 22:38:24 -07:00
  • 6dbccb9249 [DevTools] upgrade to Manifest V3 (#25145) Mengdi Chen 2022-10-21 22:52:18 -04:00
  • 4f7c7d8dea Fix remaining tests Tianyu Yao 2022-10-21 19:26:47 -07:00
  • 973b90bdf6 [Float] support meta tags as Resources (#25514) Josh Story 2022-10-21 15:21:29 -07:00
  • f4df345420 Improve playground validation, workaround lack of JSX support Joseph Savona 2022-10-21 11:00:39 -07:00
  • a7450572fa import runtime from "React.unstable_ForgetRuntime" Joseph Savona 2022-10-21 09:13:37 -07:00
  • 2f34f85011 Enable no-use-before-define validation in playground Joseph Savona 2022-10-21 08:37:18 -07:00
  • 79c5829813 Let ReactDOM initialize in RSC (#25503) Sebastian Markbåge 2022-10-21 10:41:14 -04:00
  • 1f7a2f577b [Float] support title tags as Resources (#25508) Josh Story 2022-10-20 23:13:32 -07:00
  • c635807875 Support use in act testing API (#25523) Andrew Clark 2022-10-20 22:08:23 -04:00
  • 9d8c26e1d3 Add feature flag Tianyu Yao 2022-10-20 16:09:31 -07:00
  • 9f894c2c63 Unify Default and Sync lane Tianyu Yao 2022-10-04 22:36:51 -07:00
  • 65e32e58b6 Add fetch Instrumentation to Dedupe Fetches (#25516) Sebastian Markbåge 2022-10-19 18:37:00 -04:00
  • 00a58cdab1 Option to validate output with ESLint Joseph Savona 2022-10-19 13:00:47 -07:00
  • 9336e29d91 [useEvent] Lint for presence of useEvent functions in dependency lists (#25512) lauren 2022-10-19 12:03:46 -07:00
  • 3cc792bfb5 [useEvent] Non-stable function identity (#25473) lauren 2022-10-19 11:59:27 -07:00
  • 94f1e6f27c Add runtime dependencies to the dependencies Jan Kassens 2022-10-19 13:09:03 -04:00
  • f053aacd77 [react devtools] device storage Robert Balicki 2022-09-08 12:52:57 -04:00
  • 987292815c Remove feature flag enableStrictEffects (#25387) Samuel Susla 2022-10-19 10:57:09 +01:00
  • 8e2bde6f27 Add cache() API (#25506) Sebastian Markbåge 2022-10-18 16:55:06 -04:00
  • eeb01b17e6 [ssa] Remove lambdas for update functions Sathya Gunasekaran 2022-10-18 19:30:53 +01:00
  • b9ce8bdcfd [SSA] Fix identifierID hack Sathya Gunasekaran 2022-10-18 18:57:34 +01:00
  • 379251c65f Add SSA-ify pass Sathya Gunasekaran 2022-10-18 18:45:01 +01:00
  • 9524c58486 Replace import from '.' with path name Jan Kassens 2022-10-18 13:14:27 -04:00
  • 9cdf8a99ed [Codemod] Update copyright header to Meta (#25315) devtools_4.26.1 Andrew Clark 2022-10-18 11:19:24 -04:00
  • e54015e267 Refactor: fill in the flow missing type (#25496) c0dedance 2022-10-18 23:06:35 +08:00
  • 3b1fd5767a refactor: Flow: typing of Scheduler (#25485) bubucuo 2022-10-18 23:05:38 +08:00
  • 14072ce648 Add detach to Offscreen component (#25265) Samuel Susla 2022-10-18 15:56:41 +01:00
  • 3bb71dfd4b Rename react-server-dom-webpack entry points to /client and /server (#25504) Sebastian Markbåge 2022-10-18 10:15:52 -04:00
  • 95fe4ed0ed Include Utils.Component() in BailOnCapitalizedFunctionCalls Tianyu Yao 2022-10-17 22:44:03 -07:00
  • 704d936009 [easy] rename InferReference{Capability=>Effects} Joseph Savona 2022-10-18 08:49:31 -07:00