3 ms·
Agree wholeheartedly. I often feel like when reading the hooks docs that they are describing using them with an assumption that you already understand the probl
by xrd 8y ago
Agree wholeheartedly. I often feel like when reading the hooks docs that they are describing using them with an assumption that you already understand the problems facing the core team that led to them adding hooks. Articles like this give a lot of clarity to the why behind hooks. I totally get the benefit of not using classes but there is so much more you need to know and the docs assume you have gone through the burden of doing it all in classes and if you haven't, reading the hooks docs make statements that don't always made sense purely from "hooks allow you to avoid classes and their complications."