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

How to use useCRUDHook? #1

Open
T-vK opened this issue Mar 10, 2024 · 0 comments
Open

How to use useCRUDHook? #1

T-vK opened this issue Mar 10, 2024 · 0 comments

Comments

@T-vK
Copy link

T-vK commented Mar 10, 2024

I just found this very promising looking project and I'm very interested in getting it to work.

Can you give me some detail on how to use useCrudHook?

In the README, you wrote:

// Create your CRUD functions
// and store them within useCustom_CRUD

I'm not really sure what that means.

I assume useCustom_CRUD is supposed to be a function that I need to define?

Can you give me some hints on how to implement a CRUD hook for REST? (I mean create=POST, read=GET, update=PUT/PATCH, delete=DELETE)

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

1 participant