From 06774c25219d7ba4f105f5e680b521643907748b Mon Sep 17 00:00:00 2001 From: "Sebastian \"Sebbie\" Silbermann" Date: Mon, 13 Jan 2025 13:56:54 +0100 Subject: [PATCH 01/10] /errors: Empty args are not missing arguments (#6767) --- src/components/MDX/ErrorDecoder.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/MDX/ErrorDecoder.tsx b/src/components/MDX/ErrorDecoder.tsx index 198aa939d..b04fa9f79 100644 --- a/src/components/MDX/ErrorDecoder.tsx +++ b/src/components/MDX/ErrorDecoder.tsx @@ -11,7 +11,7 @@ function replaceArgs( return msg.replace(/%s/g, function () { const arg = argList[argIdx++]; // arg can be an empty string: ?args[0]=&args[1]=count - return arg === undefined || arg === '' ? replacer : arg; + return arg === undefined ? replacer : arg; }); } From ea3cda499ffd56c217008345db627f402aa7e741 Mon Sep 17 00:00:00 2001 From: Brion Mario Date: Tue, 11 Feb 2025 02:25:11 +0530 Subject: [PATCH 02/10] docs: add javascript colombo, sri lanka meetup (#7289) --- src/content/community/meetups.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/content/community/meetups.md b/src/content/community/meetups.md index 14097aa4d..e4362b44c 100644 --- a/src/content/community/meetups.md +++ b/src/content/community/meetups.md @@ -136,6 +136,9 @@ Do you have a local React.js meetup? Add it here! (Please keep the list alphabet ## Spain {/*spain*/} * [Barcelona](https://www.meetup.com/ReactJS-Barcelona/) +## Sri Lanka {/*sri-lanka*/} +* [Colombo](https://www.javascriptcolombo.com/) + ## Sweden {/*sweden*/} * [Goteborg](https://www.meetup.com/ReactJS-Goteborg/) * [Stockholm](https://www.meetup.com/Stockholm-ReactJS-Meetup/) From cf186a10acbfa0409b531eb14a01010d470262e4 Mon Sep 17 00:00:00 2001 From: Henrik Rinne Date: Mon, 10 Feb 2025 22:56:27 +0200 Subject: [PATCH 03/10] Adding React Helsinki meetup (#7474) * Update meetups.md Added React Helsinki to meetups. * Update meetups.md --- src/content/community/meetups.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/content/community/meetups.md b/src/content/community/meetups.md index e4362b44c..906c170de 100644 --- a/src/content/community/meetups.md +++ b/src/content/community/meetups.md @@ -57,6 +57,9 @@ Do you have a local React.js meetup? Add it here! (Please keep the list alphabet * [React Advanced London](https://guild.host/react-advanced-london) * [React Native London](https://guild.host/RNLDN) +## Finland {/*finland*/} +* [Helsinki](https://www.meetabit.com/communities/react-helsinki) + ## France {/*france*/} * [Lille](https://www.meetup.com/ReactBeerLille/) * [Paris](https://www.meetup.com/ReactJS-Paris/) From b3594f04ee8ba9258e219a3eb2568220ef72e2d7 Mon Sep 17 00:00:00 2001 From: Kiran Abburi Date: Tue, 11 Feb 2025 02:27:28 +0530 Subject: [PATCH 04/10] Added React Nexus 2025 to the conference list (#7463) --- src/content/community/conferences.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/content/community/conferences.md b/src/content/community/conferences.md index cedd9d507..7af0e82c0 100644 --- a/src/content/community/conferences.md +++ b/src/content/community/conferences.md @@ -25,6 +25,11 @@ June 13 - 17, 2025. In-person in Amsterdam, Netherlands + remote (hybrid event) [Website](https://reactsummit.com/) - [Twitter](https://x.com/reactsummit) +### React Nexus 2025 {/*react-nexus-2025*/} +July 03 - 05, 2025. In-person in Bangalore, India + +[Website](https://reactnexus.com/) - [Twitter](https://x.com/ReactNexus) - [Bluesky](https://bsky.app/profile/reactnexus.com) - [Linkedin](https://www.linkedin.com/company/react-nexus) - [YouTube](https://www.youtube.com/reactify_in) + ### React Universe Conf 2025 {/*react-universe-conf-2025*/} September 2-4, 2025. Wrocław, Poland. From 5ca24f532ecaa4d805c294c5227127d767fe33f1 Mon Sep 17 00:00:00 2001 From: "Sebastian \"Sebbie\" Silbermann" Date: Tue, 14 Jan 2025 20:29:35 +0100 Subject: [PATCH 05/10] Disallow `/index.html` in sandboxes (#7430) --- src/components/MDX/Sandpack/SandpackRoot.tsx | 7 +++++++ src/content/learn/add-react-to-an-existing-project.md | 7 ++++--- src/content/reference/react-dom/client/createRoot.md | 8 ++++---- src/content/reference/react-dom/client/hydrateRoot.md | 6 +++--- src/content/reference/react-dom/createPortal.md | 2 +- src/content/reference/react/useId.md | 2 +- 6 files changed, 20 insertions(+), 12 deletions(-) diff --git a/src/components/MDX/Sandpack/SandpackRoot.tsx b/src/components/MDX/Sandpack/SandpackRoot.tsx index a47fa6860..67f40d0b3 100644 --- a/src/components/MDX/Sandpack/SandpackRoot.tsx +++ b/src/components/MDX/Sandpack/SandpackRoot.tsx @@ -71,6 +71,13 @@ function SandpackRoot(props: SandpackProps) { const codeSnippets = Children.toArray(children) as React.ReactElement[]; const files = createFileMap(codeSnippets); + if ('/index.html' in files) { + throw new Error( + 'You cannot use `index.html` file in sandboxes. ' + + 'Only `public/index.html` is respected by Sandpack and CodeSandbox (where forks are created).' + ); + } + files['/src/styles.css'] = { code: [sandboxStyle, files['/src/styles.css']?.code ?? ''].join('\n\n'), hidden: !files['/src/styles.css']?.visible, diff --git a/src/content/learn/add-react-to-an-existing-project.md b/src/content/learn/add-react-to-an-existing-project.md index b60997633..9aee6e1b6 100644 --- a/src/content/learn/add-react-to-an-existing-project.md +++ b/src/content/learn/add-react-to-an-existing-project.md @@ -58,12 +58,13 @@ npm install react react-dom -```html index.html hidden +```html public/index.html hidden My app - + +
``` @@ -121,7 +122,7 @@ root.render(

Hello, world

); -```html index.html +```html public/index.html My app diff --git a/src/content/reference/react-dom/client/createRoot.md b/src/content/reference/react-dom/client/createRoot.md index 8a3e4358f..fa6d0776e 100644 --- a/src/content/reference/react-dom/client/createRoot.md +++ b/src/content/reference/react-dom/client/createRoot.md @@ -142,7 +142,7 @@ root.render(); -```html index.html +```html public/index.html My app @@ -372,7 +372,7 @@ You can use the `onUncaughtError` root option to display error dialogs: -```html index.html hidden +```html public/index.html hidden @@ -603,7 +603,7 @@ You can use the `onCaughtError` root option to display error dialogs or filter k -```html index.html hidden +```html public/index.html hidden @@ -882,7 +882,7 @@ You can use the `onRecoverableError` root option to display error dialogs: -```html index.html hidden +```html public/index.html hidden diff --git a/src/content/reference/react-dom/client/hydrateRoot.md b/src/content/reference/react-dom/client/hydrateRoot.md index db0a3b9d7..f1f59e337 100644 --- a/src/content/reference/react-dom/client/hydrateRoot.md +++ b/src/content/reference/react-dom/client/hydrateRoot.md @@ -401,7 +401,7 @@ root.render(); -```html index.html hidden +```html public/index.html hidden @@ -634,7 +634,7 @@ root.render(); -```html index.html hidden +```html public/index.html hidden @@ -914,7 +914,7 @@ Hydration 불일치에 대한 대화 상자를 표시하려면 `onRecoverableErr -```html index.html hidden +```html public/index.html hidden diff --git a/src/content/reference/react-dom/createPortal.md b/src/content/reference/react-dom/createPortal.md index 2fda3662e..8315a8be4 100644 --- a/src/content/reference/react-dom/createPortal.md +++ b/src/content/reference/react-dom/createPortal.md @@ -251,7 +251,7 @@ Portal은 React 루트가 React로 빌드되지 않은 정적 또는 서버 렌 -```html index.html +```html public/index.html My app diff --git a/src/content/reference/react/useId.md b/src/content/reference/react/useId.md index dab463690..f50e66e98 100644 --- a/src/content/reference/react/useId.md +++ b/src/content/reference/react/useId.md @@ -226,7 +226,7 @@ input { margin: 5px; } -```html index.html +```html public/index.html My app From a08573dc6390729cb27b2f0fdaf980aac76568a3 Mon Sep 17 00:00:00 2001 From: Sahil Mhapsekar Date: Wed, 15 Jan 2025 01:11:47 +0100 Subject: [PATCH 06/10] Update Conferences Lists for 2025 (#7406) * Update Conferences Lists for 2025 * fix typo * Fix typo --- src/content/community/conferences.md | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/src/content/community/conferences.md b/src/content/community/conferences.md index 7af0e82c0..f5d1ce9a4 100644 --- a/src/content/community/conferences.md +++ b/src/content/community/conferences.md @@ -10,10 +10,10 @@ Do you know of a local React.js conference? Add it here! (Please keep the list c ## Upcoming Conferences {/*upcoming-conferences*/} -### React Day Berlin 2024 {/*react-day-berlin-2024*/} -December 13 & 16, 2024. In-person in Berlin, Germany + remote (hybrid event) +### React Paris 2025 {/*react-paris-2025*/} +March 20 - 21, 2024. In-person in Paris, France (hybrid event) -[Website](https://reactday.berlin/) - [Twitter](https://x.com/reactdayberlin) +[Website](https://react.paris/) - [Twitter](https://x.com/BeJS_) ### App.js Conf 2025 {/*appjs-conf-2025*/} May 28 - 30, 2025. In-person in Kraków, Poland + remote @@ -35,8 +35,19 @@ September 2-4, 2025. Wrocław, Poland. [Website](https://www.reactuniverseconf.com/) - [Twitter](https://twitter.com/react_native_eu) - [LinkedIn](https://www.linkedin.com/events/reactuniverseconf7163919537074118657/) +### React India 2025 {/*react-india-2025*/} +October 31 - November 01, 2025. In-person in Goa, India (hybrid event) + Oct 15 2025 - remote day + +[Website](https://www.reactindia.io) - [Twitter](https://twitter.com/react_india) - [Facebook](https://www.facebook.com/ReactJSIndia) - [Youtube](https://www.youtube.com/channel/UCaFbHCBkPvVv1bWs_jwYt3w) + + ## Past Conferences {/*past-conferences*/} +### React Day Berlin 2024 {/*react-day-berlin-2024*/} +December 13 & 16, 2024. In-person in Berlin, Germany + remote (hybrid event) + +[Website](https://reactday.berlin/) - [Twitter](https://x.com/reactdayberlin) + ### React Africa 2024 {/*react-africa-2024*/} November 29, 2024. In-person in Casablanca, Morocco (hybrid event) @@ -65,7 +76,7 @@ October 25, 2024. In-person in Verona, Italy + online (hybrid event) ### React Brussels 2024 {/*react-brussels-2024*/} October 18, 2024. In-person in Brussels, Belgium (hybrid event) -[Website](https://www.react.brussels/) - [Twitter](https://x.com/BrusselsReact) +[Website](https://www.react.brussels/) - [Twitter](https://x.com/BrusselsReact) - [YouTube](https://www.youtube.com/playlist?list=PL53Z0yyYnpWimQ0U75woee2zNUIFsiDC3) ### React India 2024 {/*react-india-2024*/} October 17 - 19, 2024. In-person in Goa, India (hybrid event) + Oct 15 2024 - remote day From c14676c92e8ff8a7b0769b1152a06009029c34c0 Mon Sep 17 00:00:00 2001 From: Mike DiDomizio Date: Mon, 20 Jan 2025 23:26:46 -0500 Subject: [PATCH 07/10] Update React Paris conference year to 2025 (#7439) --- src/content/community/conferences.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/community/conferences.md b/src/content/community/conferences.md index f5d1ce9a4..6454442d4 100644 --- a/src/content/community/conferences.md +++ b/src/content/community/conferences.md @@ -11,7 +11,7 @@ Do you know of a local React.js conference? Add it here! (Please keep the list c ## Upcoming Conferences {/*upcoming-conferences*/} ### React Paris 2025 {/*react-paris-2025*/} -March 20 - 21, 2024. In-person in Paris, France (hybrid event) +March 20 - 21, 2025. In-person in Paris, France (hybrid event) [Website](https://react.paris/) - [Twitter](https://x.com/BeJS_) From bbb5431245520663e8f01638a830285f053d1f1b Mon Sep 17 00:00:00 2001 From: Simone Civetta Date: Tue, 21 Jan 2025 05:27:13 +0100 Subject: [PATCH 08/10] React Native Connection is back in 2025 (#7311) --- src/content/community/conferences.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/content/community/conferences.md b/src/content/community/conferences.md index 6454442d4..10f15d220 100644 --- a/src/content/community/conferences.md +++ b/src/content/community/conferences.md @@ -15,6 +15,11 @@ March 20 - 21, 2025. In-person in Paris, France (hybrid event) [Website](https://react.paris/) - [Twitter](https://x.com/BeJS_) +### React Native Connection 2025 {/*react-native-connection-2025*/} +April 3 (Reanimated Training) + April 4 (Conference), 2025. Paris, France. + +[Website](https://reactnativeconnection.io/) - [X](https://x.com/reactnativeconn) - [Bluesky](https://bsky.app/profile/reactnativeconnect.bsky.social) + ### App.js Conf 2025 {/*appjs-conf-2025*/} May 28 - 30, 2025. In-person in Kraków, Poland + remote From 2c8a0956494b1dab389fd12987603a975c317a7d Mon Sep 17 00:00:00 2001 From: Aris Markogiannakis Date: Wed, 22 Jan 2025 10:37:25 +0000 Subject: [PATCH 09/10] Update conferences.md for CityJS Athens and London Events (#7425) * Update conferences.md for CityJS Athens and London Events Dear people, I would really appreciate if you include our community events on your website. It might not be titled as React conferences but it does have a lot of React on it! Thank you it is very much appreciated. * Update conferences.md Removed spaces as requested. --- src/content/community/conferences.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/content/community/conferences.md b/src/content/community/conferences.md index 10f15d220..a6e0fa4ef 100644 --- a/src/content/community/conferences.md +++ b/src/content/community/conferences.md @@ -20,11 +20,21 @@ April 3 (Reanimated Training) + April 4 (Conference), 2025. Paris, France. [Website](https://reactnativeconnection.io/) - [X](https://x.com/reactnativeconn) - [Bluesky](https://bsky.app/profile/reactnativeconnect.bsky.social) +### CityJS London 2025 {/*cityjs-london*/} +April 23 - 25, 2025. In-person in London, UK + +[Website](https://london.cityjsconf.org/) - [Twitter](https://x.com/cityjsconf) - [Bluesky](https://bsky.app/profile/cityjsconf.bsky.social) + ### App.js Conf 2025 {/*appjs-conf-2025*/} May 28 - 30, 2025. In-person in Kraków, Poland + remote [Website](https://appjs.co) - [Twitter](https://twitter.com/appjsconf) +### CityJS Athens 2025 {/*cityjs-athens*/} +May 27 - 31, 2025. In-person in Athens, Greece + +[Website](https://athens.cityjsconf.org/) - [Twitter](https://x.com/cityjsconf) - [Bluesky](https://bsky.app/profile/cityjsconf.bsky.social) + ### React Summit 2025 {/*react-summit-2025*/} June 13 - 17, 2025. In-person in Amsterdam, Netherlands + remote (hybrid event) From 3cac3f7034281e0d21a54ff1c23d441d5b1de64f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=A3=A8=EB=B0=80LuMir?= Date: Sun, 16 Mar 2025 14:42:54 +0900 Subject: [PATCH 10/10] wip --- src/content/community/conferences.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/community/conferences.md b/src/content/community/conferences.md index a6e0fa4ef..3f6e655e8 100644 --- a/src/content/community/conferences.md +++ b/src/content/community/conferences.md @@ -21,7 +21,7 @@ April 3 (Reanimated Training) + April 4 (Conference), 2025. Paris, France. [Website](https://reactnativeconnection.io/) - [X](https://x.com/reactnativeconn) - [Bluesky](https://bsky.app/profile/reactnativeconnect.bsky.social) ### CityJS London 2025 {/*cityjs-london*/} -April 23 - 25, 2025. In-person in London, UK +April 23 - 25, 2025. In-person in London, UK [Website](https://london.cityjsconf.org/) - [Twitter](https://x.com/cityjsconf) - [Bluesky](https://bsky.app/profile/cityjsconf.bsky.social)