geist-ui
geist-ui copied to clipboard
Support for Next.js 13 `app` dir
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'
- [x] I will create Pull Request
- [ ] It's just a suggestion
Expected
'use client' directive at the top of each file
Are there any updates on this? 👀
^^, looking forward to hopefully having this support
Any updates?
Updates?
no updates 15-07-24 :(