|
|
|
|
|
by _heimdall
848 days ago
|
|
When hooks were first announced they had a bit of a "you probably shouldn't use this unless you're framework author" air to them. I'm not sure if it was the react team adjusting the message and pushing for hooks in user code, or users throwing hooks at every problem when that wasn't recommended, but it definitely got odd track. I still like hooks for internal code in libraries and frameworks, but they ruin client code IMO. Unfortunately hooks are here to stay and there's really no way to avoid them in most apps today. |
|