Skip to content

Sync with react.dev @ 9000e6e0 #1120

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 51 commits into from
Jan 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
91048f2
docs: update `input.md`
lumirlumir Jan 5, 2025
c44edd2
docs: update `option.md`
lumirlumir Jan 5, 2025
94b87f8
docs: update `progress.md`
lumirlumir Jan 5, 2025
30a0a4c
docs: update `select.md`
lumirlumir Jan 5, 2025
bdd4b47
docs: update `textarea.md`
lumirlumir Jan 5, 2025
2bc4bdc
docs: update `link.md`
lumirlumir Jan 5, 2025
5977e1f
docs: update `meta.md`
lumirlumir Jan 5, 2025
3c8192d
docs: update `script.md`
lumirlumir Jan 5, 2025
4fe3cd7
docs: update `style.md`
lumirlumir Jan 5, 2025
c744764
docs: update `title.md`
lumirlumir Jan 5, 2025
338f22a
docs: update `hooks/index.md`
lumirlumir Jan 5, 2025
146fdfd
docs: update `useFormStatus.md`
lumirlumir Jan 5, 2025
634f9ed
docs: update `apis.md`
lumirlumir Jan 5, 2025
5060389
docs: update `cache.md`
lumirlumir Jan 6, 2025
5e3e400
bot to notify for PRs (#7408)
rickhanlonii Jan 7, 2025
c0b6baf
Fix broken Next.js base path configuration link (#7419)
amarachiugwu Jan 9, 2025
7b4f948
fix: change overflow-x-scroll to overflow-x-auto in TerminalBlock com…
hichemfantar Jan 9, 2025
9c4bc28
Update server-functions.md (#7396)
Azzyxec Jan 9, 2025
9000e6e
Add React Universe Conf 2025 to list of conferences (#7421)
barbaramarkiewicz Jan 9, 2025
c178340
Merge branch 'main' into develop
lumirlumir Jan 12, 2025
d15d50c
docs: update `cache.md`
lumirlumir Jan 12, 2025
293d497
docs: update `createContext.md`
lumirlumir Jan 12, 2025
2ed922a
docs: update` lazy.md`
lumirlumir Jan 12, 2025
63f4612
docs: update `memo.md`
lumirlumir Jan 12, 2025
892331f
docs: update `startTransition.md`
lumirlumir Jan 12, 2025
df422bf
merging all conflicts
react-translations-bot Jan 13, 2025
eadf04c
ci: format `discord_notify.yml` to add a new line
lumirlumir Jan 13, 2025
c53a8e7
WIP (#1117)
lumirlumir Jan 13, 2025
ac92b97
docs: update `useContext.md`
lumirlumir Jan 13, 2025
c57d200
docs: update `use.md`
lumirlumir Jan 13, 2025
6b71313
docs: update `experimental_useEffectEvent.md`
lumirlumir Jan 13, 2025
f9353c2
docs: update `experimental_taintObjectReference`
lumirlumir Jan 13, 2025
efe01ce
docs: update `experimental_taintUniqueValue.md`
lumirlumir Jan 13, 2025
289f211
docs: update `components.md`
lumirlumir Jan 13, 2025
e927576
docs: resolve conflicts in `server-functions.md`
lumirlumir Jan 13, 2025
c89b402
docs: resolve conflicts in `add-react-to-existing-project.md`
lumirlumir Jan 13, 2025
cfff64c
docs: update `Fragment.md`
lumirlumir Jan 13, 2025
d8e5821
ci: add `pull_request_target` triggers to workflow files
lumirlumir Jan 14, 2025
6373184
docs: update `react-developer-tools.md`
lumirlumir Jan 14, 2025
9ecff32
docs: update `Profiler.md`
lumirlumir Jan 14, 2025
61c2339
docs: update useImperativeHandle.md (#1123)
kangyunu Jan 14, 2025
b3ea12c
docs: update `keeping-components-pure.md`
lumirlumir Jan 14, 2025
66b17c6
Merge branch 'sync-9000e6e0' of https://github.com/reactjs/ko.react.d…
lumirlumir Jan 14, 2025
e91faf8
docs: update `react/index.md`
lumirlumir Jan 14, 2025
fd13500
docs: update useDeferredValue.md (#1124)
jnkeniaem Jan 14, 2025
fb9d34f
Merge branch 'main' into sync-9000e6e0
lumirlumir Jan 14, 2025
6c82101
docs: update `StrictMode.md`
lumirlumir Jan 15, 2025
ca6492e
feat: add links to legacy `react@18` korean translation documentation
lumirlumir Jan 15, 2025
b92aef2
docs: update `Suspense.md`
lumirlumir Jan 15, 2025
24c6365
docs: update `hooks.md`
lumirlumir Jan 15, 2025
2d35bda
revert: workflows
lumirlumir Jan 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/discord_notify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Discord Notify

on:
pull_request_target:
types: [labeled]

jobs:
notify:
if: ${{ github.event.label.name == 'React Core Team' }}
runs-on: ubuntu-latest
steps:
- name: Discord Webhook Action
uses: tsickert/[email protected]
with:
webhook-url: ${{ secrets.DISCORD_WEBHOOK_URL }}
embed-author-name: ${{ github.event.pull_request.user.login }}
embed-author-url: ${{ github.event.pull_request.user.html_url }}
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 }}
8 changes: 8 additions & 0 deletions src/components/Layout/HomeContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,14 @@ export function HomeContent() {
label="API Reference">
API 참고서
</ButtonLink>
<ButtonLink
href={'https://ko-react-exy5xcwjj-fbopensource.vercel.app/'}
type="secondary"
size="lg"
className="w-full sm:w-auto justify-center"
label="API Reference">
React v18 한글
</ButtonLink>
</div>
</div>

Expand Down
24 changes: 24 additions & 0 deletions src/components/Layout/TopNav/TopNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,22 @@ declare global {
}
}

const react18Icon = (
<svg
stroke="currentColor"
fill="none"
strokeWidth="2"
viewBox="0 0 24 24"
strokeLinecap="round"
strokeLinejoin="round"
height="200px"
width="200px"
xmlns="http://www.w3.org/2000/svg">
<path d="M8 8h1v8"></path>
<path d="M15 12h-1a1 1 0 0 1 -1 -1v-2a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v2a1 1 0 0 1 -1 1zh-1a1 1 0 0 0 -1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1 -1v-2a1 1 0 0 0 -1 -1"></path>
</svg>
);

const darkIcon = (
<svg
xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -346,6 +362,14 @@ export default function TopNav({
<IconSearch className="w-5 h-5 align-middle" />
</button>
</div>
<div className="flex">
<Link
href="https://ko-react-exy5xcwjj-fbopensource.vercel.app/"
aria-label="React version 18 Korean translation"
className="active:scale-95 transition-transform flex w-12 h-12 rounded-full items-center justify-center hover:bg-primary/5 hover:dark:bg-primary-dark/5 outline-link">
{react18Icon}
</Link>
</div>
<div className="flex dark:hidden">
<button
type="button"
Expand Down
2 changes: 1 addition & 1 deletion src/components/MDX/TerminalBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function TerminalBlock({level = 'info', children}: TerminalBlockProps) {
</div>
</div>
<div
className="px-8 pt-4 pb-6 text-primary-dark dark:text-primary-dark font-mono text-code whitespace-pre overflow-x-scroll"
className="px-8 pt-4 pb-6 text-primary-dark dark:text-primary-dark font-mono text-code whitespace-pre overflow-x-auto"
translate="no"
dir="ltr">
<LevelText type={level} />
Expand Down
5 changes: 5 additions & 0 deletions src/content/community/conferences.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 Universe Conf 2025 {/*react-universe-conf-2025*/}
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/)

## Past Conferences {/*past-conferences*/}

### React Africa 2024 {/*react-africa-2024*/}
Expand Down
4 changes: 2 additions & 2 deletions src/content/learn/add-react-to-an-existing-project.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ title: 기존 프로젝트에 React 추가하기
다음과 같이 설정하는 것을 추천합니다.

1. [React 기반 프레임워크](/learn/start-a-new-react-project) 중 하나를 사용하여 **앱의 React 부분을 빌드하세요.**
2. 사용하는 프레임워크 설정에서 **`/some-app` 을 *기본 경로*<sup>*Base Path*</sup>로 명시하세요**. (이때, [Next.js](https://nextjs.org/docs/api-reference/next.config.js/basepath), [Gatsby](https://www.gatsbyjs.com/docs/how-to/previews-deploys-hosting/path-prefix/)를 사용하세요!)
3. **서버 또는 프록시를 구성**하여 `/some-app/` 하위의 모든 요청이 React 애플리케이션에서 처리되도록 하세요.
2. 사용하는 프레임워크 설정에서 **`/some-app` 을 *기본 경로*<sup>*Base Path*</sup>로 명시하세요**. (이때, [Next.js](https://nextjs.org/docs/app/api-reference/config/next-config-js/basePath), [Gatsby](https://www.gatsbyjs.com/docs/how-to/previews-deploys-hosting/path-prefix/)를 사용하세요!)
3. **서버 또는 프록시를 구성**하여 `/some-app/` 하위의 모든 요청이 React 앱에서 처리되도록 하세요.

이는 앱의 React 부분이 이러한 프레임워크에 내장된 [최고의 사례들<sup>Best Practices</sup>로부터 이점을 얻을 수 있습니다.](/learn/start-a-new-react-project#can-i-use-react-without-a-framework)

Expand Down
Loading
Loading