Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
nvme0n1p1
· 1w ago · 0 comments
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.
Comments
[–]
AlexErrant
1w ago
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.