Lauren Tan
c5293a557b
merge commit for archive created by Sapling
2025-04-14 14:20:17 -04:00
Lauren Tan
683acd9cfe
[compiler] Init react-mcp-server
...
Just trying this out as a small hack for fun. Nothing serious is planned.
Inits an MCP server that has 1 assistant prompt and two capabilities.
2025-04-14 14:20:11 -04:00
Lauren Tan
c15a5e4e66
[compiler] Update rimraf
...
Just updating the compiler workspace package.
2025-04-14 14:19:33 -04:00
Lauren Tan
3d6826eb43
merge commit for archive created by Sapling
2025-04-14 14:12:40 -04:00
Lauren Tan
3753901e05
[compiler] Init react-mcp-server
...
Just trying this out as a small hack for fun. Nothing serious is planned.
Inits an MCP server that has 1 assistant prompt and two capabilities.
2025-04-14 14:12:29 -04:00
Lauren Tan
02571a1b25
[compiler] Update rimraf
...
Just updating the compiler workspace package.
2025-04-14 14:11:31 -04:00
Lauren Tan
9051d55621
merge commit for archive created by Sapling
2025-04-14 14:09:43 -04:00
Lauren Tan
4ff1c1f789
[compiler] Init react-mcp-server
...
Just trying this out as a small hack for fun. Nothing serious is planned.
Inits an MCP server that has 1 assistant prompt and two capabilities.
2025-04-14 14:09:37 -04:00
lauren and GitHub
b5fcd000be
Merge 228b0c3c33 into sapling-pr-archive-poteto
2025-04-14 14:06:21 -04:00
Lauren Tan
228b0c3c33
[compiler] Init react-mcp-server
...
Just trying this out as a small hack for fun. Nothing serious is planned.
Inits an MCP server that has 1 assistant prompt and two capabilities.
2025-04-14 14:06:16 -04:00
Lauren Tan
d9fdd732da
merge commit for archive created by Sapling
2025-04-14 14:01:09 -04:00
Lauren Tan
b7f9cf84dd
[compiler] Init react-mcp-server
...
Just trying this out as a small hack for fun. Nothing serious is planned.
Inits an MCP server that has 1 assistant prompt and two capabilities.
2025-04-14 14:00:59 -04:00
Lauren Tan
a6d03f0c21
merge commit for archive created by Sapling
2025-04-14 14:00:38 -04:00
Lauren Tan
98ce69200d
[compiler] Init react-mcp-server
...
Just trying this out as a small hack for fun. Nothing serious is planned.
Inits an MCP server that has 1 assistant prompt and two capabilities.
2025-04-14 14:00:31 -04:00
Lauren Tan
270f9c0384
merge commit for archive created by Sapling
2025-04-14 13:57:50 -04:00
Lauren Tan
8c5294e569
[compiler] Init react-mcp-server
...
Just trying this out as a small hack for fun. Nothing serious is planned.
Inits an MCP server that has 1 assistant prompt and two capabilities.
2025-04-14 13:57:43 -04:00
Lauren Tan
c4a7ff934e
merge commit for archive created by Sapling
2025-04-14 13:54:54 -04:00
Lauren Tan
2a90a6dbb4
[compiler] Init react-mcp-server
...
Just trying this out as a small hack for fun. Nothing serious is planned.
Inits an MCP server that has 1 assistant prompt and two capabilities.
2025-04-14 13:54:25 -04:00
lauren and GitHub
10d1016613
Merge ca24e66806 into sapling-pr-archive-poteto
2025-04-14 12:53:56 -04:00
Lauren Tan
ca24e66806
[compiler] Init react-mcp-server
...
Just trying this out as a small hack for fun. Nothing serious is planned.
Inits an MCP server that has 1 assistant prompt and two capabilities.
2025-04-14 12:52:38 -04:00
lauren and GitHub
58e9a4b74f
Upgrade node.js to 20 LTS ( #32855 )
...
Try to upgrade our node version.
---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com ). Best reviewed
with [ReviewStack](https://reviewstack.dev/facebook/react/pull/32855 ).
* #32861
* #32860
* #32859
* __->__ #32855
2025-04-14 12:52:02 -04:00
Lauren Tan
bbaa91e1d6
merge commit for archive created by Sapling
2025-04-14 11:47:14 -04:00
Lauren Tan
085c60246b
[compiler] Add docs resource and beginnings of a prompt
...
wip shenanigans
2025-04-14 11:47:04 -04:00
Lauren Tan
71f9ad66f1
[compiler] Add a basic mcp tool
...
Adds the ability to compile as a tool
2025-04-14 11:47:04 -04:00
Lauren Tan
bea2744a2a
[compiler] Init mcp
...
Just trying this out as a small hack for fun. Nothing serious is planned.
Inits an MCP server that doesn't do anything yet.
2025-04-14 11:47:03 -04:00
Lauren Tan
b743aa4540
Upgrade node.js to 20 LTS
...
Try to upgrade our node version.
2025-04-14 11:47:03 -04:00
Lauren Tan
e0b9892718
merge commit for archive created by Sapling
2025-04-11 21:29:24 -04:00
Lauren Tan
ed5a5fd8b3
[compiler] Add docs resource and beginnings of a prompt
...
wip shenanigans
2025-04-11 21:29:14 -04:00
Lauren Tan
4bbff3f0d3
[compiler] Add a basic mcp tool
...
Adds the ability to compile as a tool
2025-04-11 21:29:13 -04:00
Lauren Tan
a7aee3fef8
[compiler] Init mcp
...
Just trying this out as a small hack for fun. Nothing serious is planned.
Inits an MCP server that doesn't do anything yet.
2025-04-11 21:29:12 -04:00
lauren and GitHub
3e215ad6d2
Merge d9fd10ee05 into sapling-pr-archive-poteto
2025-04-11 21:28:21 -04:00
Lauren Tan
d9fd10ee05
[compiler] Add docs resource and beginnings of a prompt
...
wip shenanigans
2025-04-11 21:28:04 -04:00
Lauren Tan
5c9e2655f8
[compiler] Add a basic mcp tool
...
Adds the ability to compile as a tool
2025-04-11 20:08:05 -04:00
Lauren Tan
d10c8de96f
[compiler] Init mcp
...
Just trying this out as a small hack for fun. Nothing serious is planned.
Inits an MCP server that doesn't do anything yet.
2025-04-11 20:07:53 -04:00
Lauren Tan
02801a6284
Upgrade node.js to 20 LTS
...
Try to upgrade our node version.
2025-04-11 20:07:11 -04:00
Jordan Eldredge and GitHub
39cad7afc4
Remove redundant __DEV__ condition ( #32810 )
...
It used to be that in `__DEV__` we wrapped this `renderWithHooks`,
`checkDidRenderIdHook` pair in calls to `setIsRendering()`. However,
that dev-only bookkeeping was removed in
https://github.com/facebook/react/pull/29206 leaving this redundant
check which runs identical code in dev and in prod.
## Test Plan
* Manually confirm both cases are the same
* GitHub CI tests
2025-04-11 14:39:36 -07:00
lauren and GitHub
199cd9e574
Merge 8b38201be5 into sapling-pr-archive-poteto
2025-04-11 14:01:26 -04:00
Lauren Tan
8b38201be5
[ci] Only checkout if no cache hit
...
We don't need to do a checkout for the node_modules cache jobs if there's a cache hit. Saves a few seconds.
2025-04-11 13:53:40 -04:00
lauren and GitHub
8acd735167
Merge d675f497d8 into sapling-pr-archive-poteto
2025-04-11 13:49:39 -04:00
Lauren Tan
d675f497d8
[ci] Only checkout if no cache hit
...
We don't need to do a checkout for the node_modules cache jobs if there's a cache hit. Saves a few seconds.
2025-04-11 13:49:30 -04:00
Lauren Tan
2d98587d79
merge commit for archive created by Sapling
2025-04-11 13:47:09 -04:00
Lauren Tan
318174a976
Upgrade node.js to 20 LTS
...
Try to upgrade our node version.
2025-04-11 13:47:01 -04:00
lauren and GitHub
ed74a6c17a
Merge 03b4df4dbc into sapling-pr-archive-poteto
2025-04-11 13:41:58 -04:00
Lauren Tan
03b4df4dbc
Upgrade node.js to 22 LTS
...
Try to upgrade our node version.
2025-04-11 13:37:59 -04:00
Sebastian Markbåge and GitHub
1d6c8168db
Clear Update flag for unchanged trees in the beginning of the commit phase ( #32849 )
...
We use the Update flag to track if a View Transition had any mutations
or relayout. Unlike the other usage of it, this is just temporary state
during the commit phase.
Normally the flags gets used in the render phase and we reset it when we
rerender but in the case of "nested" updates, those trees didn't update.
We're only looking for relayouts. So we need to manually reset it before
we start using it.
We probably shouldn't abuse the Update flag for this and instead use
something like temporary state on ViewTransitionState.
2025-04-11 10:54:06 -04:00
Sebastian Markbåge and GitHub
961b625ab5
Try not. Do... or do not. Hydrate Suspense Boundaries. ( #32851 )
...
Assertively claim a SuspenseInstance. We already know we're hydrating.
If there's no match, it throws anyway. So there's no other code path.
2025-04-11 10:52:23 -04:00
Sebastian Markbåge and GitHub
8a3c5e1a8d
Emit Preamble Contribution inline instead of the end of a boundary ( #32850 )
...
This lets us write them early in the render phase.
This should be safe because even if we write them deeply, then they
still can't be wrapped by a element because then they'd no longer be in
the document scope anymore. They end up flat in the body and so when we
search the content we'll discover them.
2025-04-10 19:42:03 -04:00
Rubén Norte and GitHub
5e9b48778c
[RN] Map Fabric priorities to reconciler priorities correctly ( #32847 )
...
## Summary
This fixes how we map priorities between Fabric and the React
reconciler. At the moment, we're only considering default and discrete
priorities, when there's a larger range of priorities available.
In Fabric, we'll test supporting additional priorities soon. For that
test to do something useful, we need the new priorities to be mapped to
reconciler priorities correctly, which is what this change is done.
> [!IMPORTANT]
> At the moment, this is a no-op because Fabric is only reporting
default and discrete event priorities.
## How did you test this change?
Will test e2e on React Native on top of
https://github.com/facebook/react-native/pull/50627
The changes are gated in React Native, so we'll use that feature flag to
test this.
2025-04-10 17:35:15 +01:00
Sebastian Markbåge and GitHub
c44e4a2505
Move Built-in Props Types to React Types ( #32841 )
...
Stacked on #32838 .
We don't always type the Props of built-ins. This adds typing for most
of the built-ins.
When we did type them, we used to put it in the `ReactFiber...Component`
files but any public API like this can be implemented in other renderers
too such as Fizz. So I moved them to `shared/ReactTypes` which is where
we put other public API types (that are not already built-in to Flow).
That way Fizz can import them and assert properly when it accesses the
props.
2025-04-09 22:44:44 -04:00
Sebastian Markbåge and GitHub
31ecc9804a
Clarify that there's three different kinds of OffscreenProps ( #32838 )
...
ActivityProps - Public API
LegacyHiddenProps - Public Legacy API
OffscreenProps - Internal implementation detail
2025-04-09 22:22:45 -04:00