From ee361b5da41a4eec1d8f50b4e8bd026f80d82f34 Mon Sep 17 00:00:00 2001 From: Mike DiDomizio Date: Mon, 20 Jan 2025 23:26:46 -0500 Subject: [PATCH 1/8] 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 6d84dfe3..ec6cc9bf 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 e88e3d0f456bf2eda8ec73cab44425ed3a89b515 Mon Sep 17 00:00:00 2001 From: Simone Civetta Date: Tue, 21 Jan 2025 05:27:13 +0100 Subject: [PATCH 2/8] 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 ec6cc9bf..a610608f 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 b03017aaee6541c0b3c653edb4b82c56ee99a88d Mon Sep 17 00:00:00 2001 From: slavgetov Date: Tue, 21 Jan 2025 18:09:10 +0200 Subject: [PATCH 3/8] fix typo (#7440) --- src/content/reference/react/useImperativeHandle.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/reference/react/useImperativeHandle.md b/src/content/reference/react/useImperativeHandle.md index 92f6e2cd..00b9893b 100644 --- a/src/content/reference/react/useImperativeHandle.md +++ b/src/content/reference/react/useImperativeHandle.md @@ -46,7 +46,7 @@ function MyInput({ ref }) { -Starting with React 19, [`ref` is available a prop.](/blog/2024/12/05/react-19#ref-as-a-prop) In React 18 and earlier, it was necessary to get the `ref` from [`forwardRef`.](/reference/react/forwardRef) +Starting with React 19, [`ref` is available as a prop.](/blog/2024/12/05/react-19#ref-as-a-prop) In React 18 and earlier, it was necessary to get the `ref` from [`forwardRef`.](/reference/react/forwardRef) From c140d2cc6f87a481753509fbb36c6e1d2705e74e Mon Sep 17 00:00:00 2001 From: Aris Markogiannakis Date: Wed, 22 Jan 2025 10:37:25 +0000 Subject: [PATCH 4/8] 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 a610608f..dd9dd251 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 7cdbed03a6599a2948659b56bb2e6c10777461dc Mon Sep 17 00:00:00 2001 From: Sophie Alpert Date: Fri, 24 Jan 2025 09:25:14 -0800 Subject: [PATCH 5/8] Mention startTransition in useActionState docs (#7448) --- src/content/reference/react/useActionState.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/content/reference/react/useActionState.md b/src/content/reference/react/useActionState.md index a6905cec..f83f6bdc 100644 --- a/src/content/reference/react/useActionState.md +++ b/src/content/reference/react/useActionState.md @@ -68,7 +68,7 @@ If used with a Server Function, `useActionState` allows the server's response fr `useActionState` returns an array with the following values: 1. The current state. During the first render, it will match the `initialState` you have passed. After the action is invoked, it will match the value returned by the action. -2. A new action that you can pass as the `action` prop to your `form` component or `formAction` prop to any `button` component within the form. +2. A new action that you can pass as the `action` prop to your `form` component or `formAction` prop to any `button` component within the form. The action can also be called manually within [`startTransition`](/reference/react/startTransition). 3. The `isPending` flag that tells you whether there is a pending Transition. #### Caveats {/*caveats*/} @@ -102,8 +102,8 @@ function MyComponent() { `useActionState` returns an array with the following items: 1. The current state of the form, which is initially set to the initial state you provided, and after the form is submitted is set to the return value of the action you provided. -2. A new action that you pass to `
` as its `action` prop. -3. A pending state that you can utilise whilst your action is processing. +2. A new action that you pass to `` as its `action` prop or call manually within `startTransition`. +3. A pending state that you can utilise while your action is processing. When the form is submitted, the action function that you provided will be called. Its return value will become the new current state of the form. From 07f13abcf38889d58f549827165b3a724275d6cb Mon Sep 17 00:00:00 2001 From: lauren Date: Fri, 24 Jan 2025 13:49:29 -0500 Subject: [PATCH 6/8] [ci] Add workflow to label PRs from core team (#7451) Reuses the main repo's workflow to label if a PR is opened by a core team member. --- .github/workflows/label_core_team_prs.yml | 31 +++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/label_core_team_prs.yml diff --git a/.github/workflows/label_core_team_prs.yml b/.github/workflows/label_core_team_prs.yml new file mode 100644 index 00000000..2ed6e344 --- /dev/null +++ b/.github/workflows/label_core_team_prs.yml @@ -0,0 +1,31 @@ +name: Label Core Team PRs + +on: + pull_request_target: + +env: + TZ: /usr/share/zoneinfo/America/Los_Angeles + # https://github.com/actions/cache/blob/main/tips-and-workarounds.md#cache-segment-restore-timeout + SEGMENT_DOWNLOAD_TIMEOUT_MINS: 1 + +jobs: + check_maintainer: + uses: facebook/react/.github/workflows/shared_check_maintainer.yml@main + with: + actor: ${{ github.event.pull_request.user.login }} + + label: + if: ${{ needs.check_maintainer.outputs.is_core_team == 'true' }} + runs-on: ubuntu-latest + needs: check_maintainer + steps: + - name: Label PR as React Core Team + uses: actions/github-script@v7 + with: + script: | + github.rest.issues.addLabels({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: ${{ github.event.number }}, + labels: ['React Core Team'] + }); From 2f248396ecf23f6524207a909e2d8dcc43086558 Mon Sep 17 00:00:00 2001 From: lauren Date: Fri, 24 Jan 2025 15:08:25 -0500 Subject: [PATCH 7/8] [ci] Specify is_remote input to maintainer check workflow (#7453) --- .github/workflows/label_core_team_prs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/label_core_team_prs.yml b/.github/workflows/label_core_team_prs.yml index 2ed6e344..3d9fa2be 100644 --- a/.github/workflows/label_core_team_prs.yml +++ b/.github/workflows/label_core_team_prs.yml @@ -13,6 +13,7 @@ jobs: uses: facebook/react/.github/workflows/shared_check_maintainer.yml@main with: actor: ${{ github.event.pull_request.user.login }} + is_remote: true label: if: ${{ needs.check_maintainer.outputs.is_core_team == 'true' }} From a5aad0d5e92872ef715b462b1dd6dcbeb45cf781 Mon Sep 17 00:00:00 2001 From: lauren Date: Fri, 24 Jan 2025 15:25:50 -0500 Subject: [PATCH 8/8] [ci] Update discord notification bot to use remote workflow (#7455) --- .github/workflows/discord_notify.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/discord_notify.yml b/.github/workflows/discord_notify.yml index ff2caa1b..9d83081c 100644 --- a/.github/workflows/discord_notify.yml +++ b/.github/workflows/discord_notify.yml @@ -2,11 +2,18 @@ name: Discord Notify on: pull_request_target: - types: [ labeled ] + types: [labeled] jobs: + check_maintainer: + uses: facebook/react/.github/workflows/shared_check_maintainer.yml@main + with: + actor: ${{ github.event.pull_request.user.login }} + is_remote: true + notify: - if: ${{ github.event.label.name == 'React Core Team' }} + if: ${{ needs.check_maintainer.outputs.is_core_team == 'true' }} + needs: check_maintainer runs-on: ubuntu-latest steps: - name: Discord Webhook Action @@ -18,4 +25,4 @@ jobs: embed-author-icon-url: ${{ github.event.pull_request.user.avatar_url }} embed-title: '#${{ github.event.number }} (+${{github.event.pull_request.additions}} -${{github.event.pull_request.deletions}}): ${{ github.event.pull_request.title }}' embed-description: ${{ github.event.pull_request.body }} - embed-url: ${{ github.event.pull_request.html_url }} \ No newline at end of file + embed-url: ${{ github.event.pull_request.html_url }}