Comments (2)
관련 내용이 #810 에서도 등장해 함께 이야기되면 좋을 것 같습니다.
When a 'use client' file is imported from another client file, the directive has no effect.
To reduce client bundle size and take full advantage of the server, move state (and the 'use client' directives) lower in the tree when possible, and pass rendered server components as children to client components.
Because props are serialized across the server–client boundary, note that the placement of these directives can affect the amount of data sent to the client; avoid data structures that are larger than necessary.
Directives like 'use client' must be at the very beginning of a file, above any imports or other code (comments above directives are OK). They must be written with single or double quotes, not backticks. (The 'use xyz' directive format somewhat resembles the useXyz() Hook naming convention, but the similarity is coincidental.)
from ko.react.dev.
Directives provide instructions to bundlers compatible with React Server Components.
Directives가 서버 혹은 클라이언트에서 실행되는지 지시해주는 계념으로 이해합니다. "지시어"로 번역을 해보면 어떨까 제안합니다.
from ko.react.dev.
Related Issues (20)
- [번역 필요] use HOT 1
- [번역 필요] useDebugValue HOT 6
- [번역 필요] Profiler HOT 3
- [번역 필요] TypeScript 사용하기 HOT 2
- [번역 필요] Understanding Your UI as a Tree HOT 1
- [번역 필요] 'use client' HOT 4
- [번역 필요] 'use server' HOT 4
- [번역 필요] cache HOT 4
- [번역 필요] experimental_taintObjectReference HOT 2
- [번역 필요] experimental_taintUniqueValue HOT 4
- 용어: import / export HOT 2
- 용어: Bundler HOT 3
- [번역 누락] 렌더링 그리고 커밋 페이지의 번역 누락 HOT 3
- 2023-11-27 Conflict Resolve HOT 6
- 용어: Dependencies HOT 6
- [번역 중복] state 업데이트 큐 페이지 HOT 2
- Incorrect href in React learning documentation HOT 1
- [번역 필요] useFormState, useFormStatus HOT 3
- [번역 필요] Hook 훝어보기, form 컴포넌트 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ko.react.dev.