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

If you have code in say store.js it will triggered whenever the file is imported the first time.

I also trigger init code from my entry point (eg: main.js).



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

Search: