-
Notifications
You must be signed in to change notification settings - Fork 51
Closed
Labels
enhancementIssues or PR related to making existing features betterIssues or PR related to making existing features better
Description
Description
Add 'use client'
directive to Client components
Reasons for suggestion
대표적으로 Next.js App Router 등 React Server Component를 사용하는 라이브러리 사용처에서 bezier-react 컴포넌트를 쉽게 사용할 수 있도록 합니다.
Proposed solution
Often in a React app, you’ll leverage third-party libraries to handle common UI patterns or logic.
These libraries may rely on component Hooks or client APIs. Third-party components that use any of the following React APIs must run on the client:
- createContext
- react and react-dom Hooks, excluding use and useId
- forwardRef
- memo
- startTransition
- If they use client APIs, ex. DOM insertion or native platform views
위 요소를 충족하는 컴포넌트에 'use client'
지시어를 추가합니다.
References
Metadata
Metadata
Assignees
Labels
enhancementIssues or PR related to making existing features betterIssues or PR related to making existing features better