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

To me this seems really implicit and magical and strange.

Where is template getting assigned to the code inside the script tag?

Does OtherComponent somehow mysteriously map to other-component? How does one pass arguments to it? Is a .vue file actually HTML or is it parsed somehow to be HTML?

The thing I like about React is the explicitness of it. This is a source code file that exports component X. Component X uses style Y as defined above because it's explicitly passed in as a prop, etc etc.



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

Search: