Replies: 2 comments
-
Ohhh I like that idea a lot! 👀 Resources: |
Beta Was this translation helpful? Give feedback.
0 replies
-
I love that idea! It could streamline the installation process significantly and make it much easier for the community to adopt new parsers. Let's explore this further and see how we can integrate it seamlessly. Great job on the initial test! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We could potentially leverage shadcn's new custom registry support for a seamless community parsers installation process. I ran a quick test, and it seems to work:
registry.json
registry/hooks/use-pagination-search-params.ts
Installation
Following the shadcn setup guide, after running:
We get the registry output. Now, assuming this is hosted at
https://nuqs.47ng.com/r/use-pagination-search-params.json
, we can seamlessly install the hook with:This might however require users to have the
components.json
in order for it to work though, but it's worth exploring!Beta Was this translation helpful? Give feedback.
All reactions