Skip to content
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

Support for Next.js 13 app dir #823

Open
1 of 2 tasks
dopecoder opened this issue Mar 4, 2023 · 6 comments
Open
1 of 2 tasks

Support for Next.js 13 app dir #823

dopecoder opened this issue Mar 4, 2023 · 6 comments

Comments

@dopecoder
Copy link

dopecoder commented Mar 4, 2023

Feature request 🚀

Add support for Next.js 13 app directory.

  • Currently the new architecture expects client components to be marked with 'use client' at the top of the file before the imports to mark the boundary for client components so that they can be used inside server components.

  • The documentation on how to install geist-ui package for app dir needs to be added.

It would be great if you have any suggestions on how we can add the 'use client' directive for each of the components, I was thinking maybe use babel or webpack loader to add the 'use client' directive.

I'm also happy to update documentation with example.

Question : Is there a need for creating a new package for nextjs? or is it okay for the library to work with other frameworks with 'use client'

  • I will create Pull Request
  • It's just a suggestion

Expected

'use client' directive at the top of each file

@loicnestler
Copy link

Are there any updates on this? 👀

@ckhawks
Copy link

ckhawks commented May 14, 2023

^^, looking forward to hopefully having this support

@andordavoti
Copy link

Any updates?

@nabato
Copy link

nabato commented Oct 16, 2023

Updates?

@jamesng-minhkhoi
Copy link

no updates 15-07-24 :(

@gorjs3540
Copy link

Any updates...? 🫠

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants