Skip to content

Commit e4b27a9

Browse files
merging all conflicts
2 parents 53c0122 + 1697ae8 commit e4b27a9

Some content is hidden

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

41 files changed

+746
-147
lines changed

.github/workflows/analyze.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@ jobs:
1111
analyze:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v3
1515

1616
- name: Set up node
17-
uses: actions/setup-node@v1
17+
uses: actions/setup-node@v3
1818
with:
1919
node-version: '20.x'
2020

2121
- name: Install dependencies
2222
uses: bahmutov/npm-install@v1.7.10
2323

2424
- name: Restore next build
25-
uses: actions/cache@v2
25+
uses: actions/cache@v3
2626
id: restore-build-cache
2727
env:
2828
cache-name: cache-next-build
@@ -41,7 +41,7 @@ jobs:
4141
run: npx -p nextjs-bundle-analysis@0.5.0 report
4242

4343
- name: Upload bundle
44-
uses: actions/upload-artifact@v2
44+
uses: actions/upload-artifact@v3
4545
with:
4646
path: .next/analyze/__bundle_analysis.json
4747
name: bundle_analysis.json
@@ -73,7 +73,7 @@ jobs:
7373
run: ls -laR .next/analyze/base && npx -p nextjs-bundle-analysis compare
7474

7575
- name: Upload analysis comment
76-
uses: actions/upload-artifact@v2
76+
uses: actions/upload-artifact@v3
7777
with:
7878
name: analysis_comment.txt
7979
path: .next/analyze/__bundle_analysis_comment.txt
@@ -82,7 +82,7 @@ jobs:
8282
run: echo ${{ github.event.number }} > ./pr_number
8383

8484
- name: Upload PR number
85-
uses: actions/upload-artifact@v2
85+
uses: actions/upload-artifact@v3
8686
with:
8787
name: pr_number
8888
path: ./pr_number

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
},
2525
"dependencies": {
2626
"@codesandbox/sandpack-react": "2.13.5",
27-
"@docsearch/css": "3.0.0-alpha.41",
28-
"@docsearch/react": "3.0.0-alpha.41",
27+
"@docsearch/css": "^3.6.1",
28+
"@docsearch/react": "^3.6.1",
2929
"@headlessui/react": "^1.7.0",
3030
"@radix-ui/react-context-menu": "^2.1.5",
3131
"body-scroll-lock": "^3.1.3",

src/components/Layout/Footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ export function Footer() {
283283
<div
284284
className="text-xs text-left rtl:text-right mt-2 pe-0.5"
285285
dir="ltr">
286-
&copy;{new Date().getFullYear()}
286+
Copyright &copy; Meta Platforms, Inc
287287
</div>
288288
<div
289289
className="uwu-visible text-xs cursor-pointer hover:text-link hover:dark:text-link-dark hover:underline"

src/components/MDX/Sandpack/Preview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export function Preview({
113113
/**
114114
* The spinner component transition might be longer than
115115
* the bundler loading, so we only show the spinner if
116-
* it takes more than 1s to load the bundler.
116+
* it takes more than 500s to load the bundler.
117117
*/
118118
timeout = setTimeout(() => {
119119
setShowLoading(true);

src/components/Search.tsx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,17 @@ export function Search({
9494
onOpen,
9595
onClose,
9696
searchParameters = {
97-
hitsPerPage: 5,
97+
hitsPerPage: 30,
98+
attributesToHighlight: [
99+
'hierarchy.lvl0',
100+
'hierarchy.lvl1',
101+
'hierarchy.lvl2',
102+
'hierarchy.lvl3',
103+
'hierarchy.lvl4',
104+
'hierarchy.lvl5',
105+
'hierarchy.lvl6',
106+
'content',
107+
],
98108
},
99109
}: SearchProps) {
100110
useDocSearchKeyboardEvents({isOpen, onOpen, onClose});

src/content/blog/2023/03/16/introducing-react-dev.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ Utilisez l'opérateur conditionnel (`cond ? a : b`) pour afficher ❌ si `isPack
270270
function Item({ name, isPacked }) {
271271
return (
272272
<li className="item">
273-
{name} {isPacked && ''}
273+
{name} {isPacked && ''}
274274
</li>
275275
);
276276
}
@@ -308,7 +308,7 @@ export default function PackingList() {
308308
function Item({ name, isPacked }) {
309309
return (
310310
<li className="item">
311-
{name} {isPacked ? '' : ''}
311+
{name} {isPacked ? '' : ''}
312312
</li>
313313
);
314314
}

src/content/blog/2024/04/25/react-19-upgrade-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ npm install react-shallow-renderer --save-dev
355355

356356
##### Please reconsider shallow rendering {/*please-reconsider-shallow-rendering*/}
357357

358-
Shallow rendering depends on React internals and can block you from future upgrades. We recommend migrating your tests to [@testing-library/react](https://testing-library.com/docs/react-testing-library/intro/) or [@testing-library/react-native](https://callstack.github.io/react-native-testing-library/docs/getting-started).
358+
Shallow rendering depends on React internals and can block you from future upgrades. We recommend migrating your tests to [@testing-library/react](https://testing-library.com/docs/react-testing-library/intro/) or [@testing-library/react-native](https://testing-library.com/docs/react-native-testing-library/intro).
359359

360360
</Note>
361361

@@ -526,7 +526,7 @@ We are deprecating `react-test-renderer` because it implements its own renderer
526526

527527
The test renderer was created before there were more viable testing strategies available like [React Testing Library](https://testing-library.com), and we now recommend using a modern testing library instead.
528528

529-
In React 19, `react-test-renderer` logs a deprecation warning, and has switched to concurrent rendering. We recommend migrating your tests to [@testing-library/react](https://testing-library.com/docs/react-testing-library/intro/) or [@testing-library/react-native](https://callstack.github.io/react-native-testing-library/docs/getting-started) for a modern and well supported testing experience.
529+
In React 19, `react-test-renderer` logs a deprecation warning, and has switched to concurrent rendering. We recommend migrating your tests to [@testing-library/react](https://testing-library.com/docs/react-testing-library/intro/) or [@testing-library/react-native](https://testing-library.com/docs/react-native-testing-library/intro) for a modern and well supported testing experience.
530530

531531
## Notable changes {/*notable-changes*/}
532532

src/content/community/acknowledgements.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,11 @@ Nous aimerions remercier particulièrement certaines personnes ayant effectué d
5959

6060
Cette liste n'est pas exhaustive.
6161

62+
<<<<<<< HEAD
6263
Nous aimerions remercier tout particulièrement [Tom Occhino](https://github.com/tomocchino) et [Adam Wolff](https://github.com/wolffiex) pour leur encadrement et leur soutien au fil des ans. Nous sommes aussi reconnaissants à tou·te·s les bénévoles qui [traduisent React dans d'autres langues](https://translations.react.dev/) (vous trouverez le [détail pour le français ici](https://github.com/reactjs/fr.react.dev/blob/main/TRANSLATORS.md)).
64+
=======
65+
We'd like to give special thanks to [Tom Occhino](https://github.com/tomocchino) and [Adam Wolff](https://github.com/wolffiex) for their guidance and support over the years. We are also thankful to all the volunteers who [translated React into other languages.](https://translations.react.dev/)
66+
>>>>>>> 1697ae89a3bbafd76998dd7496754e5358bc1e9a
6367
6468
## Encore quelques mercis {/*additional-thanks*/}
6569

src/content/community/conferences.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Vous connaissez une conférence React.js locale ? Ajoutez-la ! (Merci de conse
1010

1111
## Conférences à venir {/*upcoming-conferences*/}
1212

13+
<<<<<<< HEAD
1314
### React Nexus 2024 {/*react-nexus-2024*/}
1415
July 04 & 05, 2024. Bangalore, India (In-person event)
1516

@@ -30,6 +31,8 @@ August 12-13, 2024. Park City, UT, USA
3031

3132
[Site web](https://reactrally.com) - [Twitter](https://twitter.com/ReactRally) - [YouTube](https://www.youtube.com/channel/UCXBhQ05nu3L1abBUGeQ0ahw)
3233

34+
=======
35+
>>>>>>> 1697ae89a3bbafd76998dd7496754e5358bc1e9a
3336
### React Universe Conf 2024 {/*react-universe-conf-2024*/}
3437
September 5-6, 2024. Wrocław, Poland.
3538

@@ -55,12 +58,61 @@ October 18, 2024. In-person in Brussels, Belgium (hybrid event)
5558

5659
[Site web](https://www.react.brussels/) - [Twitter](https://x.com/BrusselsReact)
5760

61+
### reactjsday 2024 {/*reactjsday-2024*/}
62+
October 25, 2024. In-person in Verona, Italy + online (hybrid event)
63+
64+
[Website](https://2024.reactjsday.it/) - [Twitter](https://x.com/reactjsday) - [Facebook](https://www.facebook.com/GrUSP/) - [YouTube](https://www.youtube.com/c/grusp)
65+
66+
### React Advanced London 2024 {/*react-advanced-london-2024*/}
67+
October 25 & 28, 2024. In-person in London, UK + online (hybrid event)
68+
69+
[Website](https://reactadvanced.com/) - [Twitter](https://x.com/reactadvanced)
70+
71+
### React Native London Conf 2024 {/*react-native-london-2024*/}
72+
November 14 & 15, 2024. In-person in London, UK
73+
74+
[Website](https://reactnativelondon.co.uk/) - [Twitter](https://x.com/RNLConf)
75+
76+
### React Summit US 2024 {/*react-summit-us-2024*/}
77+
November 19 & 22, 2024. In-person in New York, USA + online (hybrid event)
78+
79+
[Website](https://reactsummit.us/) - [Twitter](https://twitter.com/reactsummit) - [Videos](https://portal.gitnation.org/)
80+
5881
### React Africa 2024 {/*react-africa-2024*/}
5982
November 29, 2024. In-person in Casablanca, Morocco (hybrid event)
6083

6184
[Site web](https://react-africa.com/) - [Twitter](https://x.com/BeJS_)
6285

86+
<<<<<<< HEAD
6387
## Conférences passées {/*past-conferences*/}
88+
=======
89+
### React Day Berlin 2024 {/*react-day-berlin-2024*/}
90+
December 13 & 16, 2024. In-person in Berlin, Germany + remote (hybrid event)
91+
92+
[Website](https://reactday.berlin/) - [Twitter](https://x.com/reactdayberlin)
93+
94+
## Past Conferences {/*past-conferences*/}
95+
>>>>>>> 1697ae89a3bbafd76998dd7496754e5358bc1e9a
96+
97+
### React Rally 2024 🐙 {/*react-rally-2024*/}
98+
August 12-13, 2024. Park City, UT, USA
99+
100+
[Website](https://reactrally.com) - [Twitter](https://twitter.com/ReactRally) - [YouTube](https://www.youtube.com/channel/UCXBhQ05nu3L1abBUGeQ0ahw)
101+
102+
### The Geek Conf 2024 {/*the-geek-conf-2024*/}
103+
July 25, 2024. In-person in Berlin, Germany + remote (hybrid event)
104+
105+
[Website](https://thegeekconf.com) - [Twitter](https://twitter.com/thegeekconf)
106+
107+
### Chain React 2024 {/*chain-react-2024*/}
108+
July 17-19, 2024. In-person in Portland, OR, USA
109+
110+
[Website](https://chainreactconf.com) - [Twitter](https://twitter.com/ChainReactConf)
111+
112+
### React Nexus 2024 {/*react-nexus-2024*/}
113+
July 04 & 05, 2024. Bangalore, India (In-person event)
114+
115+
[Website](https://reactnexus.com/) - [Twitter](https://twitter.com/ReactNexus) - [Linkedin](https://www.linkedin.com/company/react-nexus) - [YouTube](https://www.youtube.com/reactify_in)
64116

65117
### React Summit 2024 {/*react-summit-2024*/}
66118
June 14 & 18, 2024. In-person in Amsterdam, Netherlands + remote (hybrid event)

0 commit comments

Comments
 (0)