Replies: 1 comment
-
We deprecated |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The code below is a bit customized for my needs, but it should be easy to follow... The point of this change to for non-get methods to have a delayed fetch call... so I implemented a setBody state that does the setting of the body and the fetch after the hook is instantiated. I'd PR but don't have the time to.
Usage (get):
Usage (post):
Code (JS in my case):
Beta Was this translation helpful? Give feedback.
All reactions