Skip to content

Commit b143d79

Browse files
committed
merge: sync upstream/main into production
2 parents 2e66399 + 5d4c911 commit b143d79

629 files changed

Lines changed: 53376 additions & 2896 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/pre-merge.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches:
66
- main
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
lint:
1013
runs-on: ubuntu-latest
@@ -33,6 +36,29 @@ jobs:
3336
- name: Run plugins lint
3437
run: yarn lint:plugins
3538

39+
check-vercel-redirects:
40+
runs-on: ubuntu-latest
41+
steps:
42+
- name: Checkout repository
43+
uses: actions/checkout@v6
44+
45+
- name: Set up Node.js
46+
uses: actions/setup-node@v6
47+
with:
48+
node-version: "22"
49+
cache: yarn
50+
51+
- name: Install dependencies
52+
run: yarn install --immutable
53+
54+
- name: Check Vercel redirects are in sync
55+
run: |
56+
yarn sync-redirects:vercel
57+
if ! git diff --exit-code vercel.json; then
58+
echo "::error::vercel.json redirects are out of sync with _redirects. Run 'yarn sync-redirects:vercel' and commit."
59+
exit 1
60+
fi
61+
3662
lint-website:
3763
runs-on: ubuntu-latest
3864
steps:

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,5 @@ cnwebsite/build/
3636
!.yarn/releases
3737
!.yarn/sdks
3838
!.yarn/versions
39+
.vercel
40+
.env*.local

chinese_files.txt

Lines changed: 253 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,253 @@
1+
accessibility.md
2+
accessibilityinfo.md
3+
actionsheetios.md
4+
activityindicator.md
5+
alert.md
6+
alertios.md
7+
animated.md
8+
animatedvalue.md
9+
animatedvaluexy.md
10+
animations.md
11+
app-extensions.md
12+
appearance.md
13+
appendix.md
14+
appregistry.md
15+
appstate.md
16+
architecture-overview.md
17+
asyncstorage.md
18+
backhandler.md
19+
boxshadowvalue.md
20+
build-speed.md
21+
building-for-tv.md
22+
button.md
23+
checkbox.md
24+
clipboard.md
25+
colors.md
26+
communication-android.md
27+
communication-ios.md
28+
components-and-apis.md
29+
datepickerandroid.md
30+
datepickerios.md
31+
debugging-native-code.md
32+
debugging-release-builds.md
33+
debugging.md
34+
devsettings.md
35+
dimensions.md
36+
document-nodes.md
37+
drawerlayoutandroid.md
38+
dropshadowvalue.md
39+
dynamiccolorios.md
40+
easing.md
41+
element-nodes.md
42+
fabric-native-components-android.md
43+
fabric-native-components-ios.md
44+
fabric-native-components.md
45+
fabric-renderer.md
46+
fast-refresh.md
47+
flatlist.md
48+
flexbox.md
49+
gesture-responder-system.md
50+
get-started-without-a-framework.md
51+
getting-started.md
52+
global-AbortController.md
53+
global-AbortSignal.md
54+
global-Blob.md
55+
global-EventCounts.md
56+
global-File.md
57+
global-FileReader.md
58+
global-FormData.md
59+
global-Headers.md
60+
global-PerformanceEntry.md
61+
global-PerformanceEventTiming.md
62+
global-PerformanceLongTaskTiming.md
63+
global-PerformanceMark.md
64+
global-PerformanceMeasure.md
65+
global-PerformanceObserver.md
66+
global-PerformanceObserverEntryList.md
67+
global-PerformanceResourceTiming.md
68+
global-Request.md
69+
global-Response.md
70+
global-URL.md
71+
global-URLSearchParams.md
72+
global-WebSocket.md
73+
global-XMLHttpRequest.md
74+
global-__DEV__.md
75+
global-alert.md
76+
global-cancelAnimationFrame.md
77+
global-cancelIdleCallback.md
78+
global-clearInterval.md
79+
global-clearTimeout.md
80+
global-console.md
81+
global-fetch.md
82+
global-global.md
83+
global-intersectionobserver.md
84+
global-intersectionobserverentry.md
85+
global-navigator.md
86+
global-performance.md
87+
global-process.md
88+
global-queueMicrotask.md
89+
global-requestAnimationFrame.md
90+
global-requestIdleCallback.md
91+
global-self.md
92+
global-setInterval.md
93+
global-setTimeout.md
94+
global-window.md
95+
glossary.md
96+
handling-text-input.md
97+
handling-touches.md
98+
headless-js-android.md
99+
height-and-width.md
100+
hermes.md
101+
i18nmanager.md
102+
image-style-props.md
103+
image.md
104+
imagebackground.md
105+
imagepickerios.md
106+
images.md
107+
improvingux.md
108+
inputaccessoryview.md
109+
integration-with-android-fragment.md
110+
integration-with-existing-apps.md
111+
interactionmanager.md
112+
intro-react-native-components.md
113+
intro-react.md
114+
introduction.md
115+
javascript-environment.md
116+
keyboard.md
117+
keyboardavoidingview.md
118+
layout-props.md
119+
layoutanimation.md
120+
layoutevent.md
121+
legacy/direct-manipulation.md
122+
legacy/local-library-setup.md
123+
legacy/native-components-android.md
124+
legacy/native-components-ios.md
125+
legacy/native-modules-android.md
126+
legacy/native-modules-intro.md
127+
legacy/native-modules-ios.md
128+
legacy/native-modules-setup.md
129+
libraries.md
130+
linking-libraries-ios.md
131+
linking.md
132+
metro.md
133+
modal.md
134+
more-resources.md
135+
native-platforms.md
136+
navigation.md
137+
netinfo.md
138+
network.md
139+
new-architecture-app-intro.md
140+
new-architecture-app-modules-ios.md
141+
new-architecture-app-renderer-android.md
142+
new-architecture-app-renderer-ios.md
143+
new-architecture-intro.md
144+
new-architecture-library-android.md
145+
new-architecture-library-intro.md
146+
new-architecture-library-ios.md
147+
new-architecture-troubleshooting.md
148+
new-architecture-turbo-module.md
149+
nodes.md
150+
optimizing-flatlist-configuration.md
151+
optimizing-javascript-loading.md
152+
other-debugging-methods.md
153+
out-of-tree-platforms.md
154+
panresponder.md
155+
performance.md
156+
permissionsandroid.md
157+
pixelratio.md
158+
platform-specific-code.md
159+
platform.md
160+
platformcolor.md
161+
pressable.md
162+
pressevent.md
163+
profile-hermes.md
164+
profiling.md
165+
progressbarandroid.md
166+
progressviewios.md
167+
props.md
168+
publishing-to-app-store.md
169+
pushnotificationios.md
170+
ram-bundles-inline-requires.md
171+
react-18-and-react-native.md
172+
react-native-devtools.md
173+
react-native-gradle-plugin.md
174+
react-node.md
175+
rect.md
176+
refreshcontrol.md
177+
releases/release-levels.md
178+
releases/releases.md
179+
releases/versioning-policy.md
180+
removing-default-permissions.md
181+
render-pipeline.md
182+
roottag.md
183+
running-on-device.md
184+
running-on-simulator-ios.md
185+
safeareaview.md
186+
sample-application-movies.md
187+
scrollview.md
188+
sectionlist.md
189+
security.md
190+
segmentedcontrolios.md
191+
set-up-your-environment.md
192+
settings.md
193+
shadow-props.md
194+
share.md
195+
signed-apk-android.md
196+
slider.md
197+
state.md
198+
statusbar.md
199+
statusbarios.md
200+
strict-typescript-api.md
201+
style.md
202+
stylesheet.md
203+
switch.md
204+
symbolication.md
205+
systrace.md
206+
targetevent.md
207+
testing-overview.md
208+
text-nodes.md
209+
text-style-props.md
210+
text.md
211+
textinput.md
212+
the-new-architecture/advanced-topics-components.md
213+
the-new-architecture/advanced-topics-modules.md
214+
the-new-architecture/codegen-cli.md
215+
the-new-architecture/create-module-library.md
216+
the-new-architecture/custom-cxx-types.md
217+
the-new-architecture/direct-manipulation.md
218+
the-new-architecture/fabric-component-native-commands.md
219+
the-new-architecture/layout-measurements.md
220+
the-new-architecture/native-modules-custom-events.md
221+
the-new-architecture/native-modules-lifecycle.md
222+
the-new-architecture/pure-cxx-modules.md
223+
the-new-architecture/turbo-modules-with-swift.md
224+
the-new-architecture/using-codegen.md
225+
the-new-architecture/what-is-codegen.md
226+
threading-model.md
227+
timepickerandroid.md
228+
timers.md
229+
toastandroid.md
230+
touchablehighlight.md
231+
touchablenativefeedback.md
232+
touchableopacity.md
233+
touchablewithoutfeedback.md
234+
transforms.md
235+
troubleshooting.md
236+
turbo-native-modules-android.md
237+
turbo-native-modules-ios.md
238+
turbo-native-modules.md
239+
tutorial.md
240+
typescript.md
241+
upgrading.md
242+
usecolorscheme.md
243+
usewindowdimensions.md
244+
using-a-listview.md
245+
using-a-scrollview.md
246+
vibration.md
247+
view-style-props.md
248+
view.md
249+
viewpagerandroid.md
250+
viewtoken.md
251+
virtualizedlist.md
252+
virtualview.md
253+
xplat-implementation.md

docs/_canary-channel-api-warning.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
:::tip Canary 🧪
1+
:::tip[Canary 🧪]
22

33
**This API is currently only available in React Native’s Canary and Experimental channels.**
44

docs/_experimental-api-warning.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
:::important Experimental 🧪
1+
:::important[Experimental 🧪]
22

33
**This API is experimental.** Experimental APIs may contain bugs and are likely to change in a future version of React Native. Don't use them in production.
44

docs/_experimental-channel-api-warning.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
:::tip Experimental Feature 🧪
1+
:::important[Experimental Feature 🧪]
22

33
**This API is currently only available in React Native’s Experimental channels.**
44

docs/alertios.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ id: alertios
33
title: '❌ AlertIOS'
44
---
55

6-
:::danger Removed from React Native
6+
:::danger[Removed from React Native]
77
Use [`Alert`](alert) instead.
88
:::

0 commit comments

Comments
 (0)