Hacker News new | ask | show | jobs
by nvme0n1p1 16 days ago
It sounds like `useLoadTTS` shouldn't have been a hook then? You don't have to make everything a hook just because they exist. Hooks are just one tool in the toolbox. There's no shame in a useState or useEffect.
1 comments

Tell that to the services that only offer their APIs as a hook.

Trust me, I hate hooks. I don't use them unless I must.