DEV Community

Discussion on: use-spinner - Show loading spinners for your asynchronous calls

Collapse
ivanjeremic profile image
Ivan Jeremic

Not everything needs to be a hook, this is one example of this.

Collapse
pinussilvestrus profile image
Niklas Kiefer Author

Interesting you call it a hook although the term was nowhere mentioned. 🙂

That's the way of API design: make it familiar to what people are used about. I agree not everything has to be a hook. But make it easy to consume.