Alex Gleason
|
a4992eec4d
|
isLoading --> isSubmitting for action hooks
|
2023-04-03 15:19:10 -05:00 |
|
Alex Gleason
|
a530ec0202
|
EntityStore: switch all hooks to use a callback function
|
2023-03-23 19:22:26 -05:00 |
|
Alex Gleason
|
aa7e2f6965
|
Refactor hooks with useEntityRequest
|
2023-03-23 16:22:15 -05:00 |
|
Alex Gleason
|
45c12e9b65
|
Make EntityCallbacks a generic function
|
2023-03-23 16:09:04 -05:00 |
|
Alex Gleason
|
ac9718e6ed
|
Return isLoading from useCreateEntity and useDeleteEntity
|
2023-03-23 15:30:45 -05:00 |
|
Alex Gleason
|
1c5a6d8b41
|
useDeleteEntity: refactor with EntityRequest
|
2023-03-23 15:05:34 -05:00 |
|
Alex Gleason
|
4783a41b78
|
useDeleteEntity: support onSuccess callback
|
2023-03-23 10:45:49 -05:00 |
|
Alex Gleason
|
b76559f24a
|
Add useDismissEntity hook, update useDeleteEntity to match
|
2023-03-22 14:40:18 -05:00 |
|
Alex Gleason
|
4049de50aa
|
Add separate useDeleteEntity hook accepting a callback
|
2023-03-22 14:08:08 -05:00 |
|