Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Drupal hooks are a functional approach to design compared to the OOP approach of Symfony components. As in you use functions to modify/extend existing code instead of inheritance. That's the context of the discussion, not whether they are otherwise similar to React hooks. Anyway, I just tend to think more in terms of making things with classes/objects than with functions.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: