re: React: Writing a custom API hook VIEW POST


The entirety of the code is in the article. It's a single function :)


Hi Patrick! Thanks for sharing this knowledge. I would be glad as well to see this at github. I'm having some problems trying to replicate this and split to use with imports.

Thanks Rafael !

Here's a link to this hook on Github.
Cheers :)

code of conduct - report abuse