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

I have mixed feelings.

Hook style API allows us to write the same functionality with less keystrokes. But I found that I interpret how it works object-orientedly. It feels wierd to write them as functions instead of classes.

If there are multiple appearances of the same component, they belong to different "instances". Components get updated by modifying their state, or in other words, their "instance variables".



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

Search: