-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
I am trying to use this package in nextjs app directory. But it fails because of calling client components from server files. Since the useLoadItems use useState it must be declared as client components. So it throws error when calling from page file.
Attempted to call useLoadItems() from the server but useLoadItems is on the client.
It's not possible to invoke a client function from the server, it can only be rendered as a Component or
passed to props of a Client Component.
Thanks.
Metadata
Metadata
Assignees
Labels
No labels