DEV Community

Discussion on: React: Writing a custom API hook

Collapse
 
patrixr profile image
Patrick R

Valid point, in part a force of habit, and in another I do have a tendency to inherit base service classes, as seen here. That part kinda got lost as I was trying to simplify things.

Glad you like the hook :)