Skip to content

Add 'use client' directive to Client components #2456

@sungik-choi

Description

@sungik-choi

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:

위 요소를 충족하는 컴포넌트에 'use client' 지시어를 추가합니다.

References

Metadata

Metadata

Assignees

Labels

enhancementIssues or PR related to making existing features better

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions