![]() ![]() ![]() The answers ranged from “because callbacks are considered an anti-pattern” without any reason why or rather vague answers like “using events is a convention in the Vue.js ecosystem”. I read a couple of blog posts and searched Stackoverflow and the Vue.js forum to find out why, in Vue.js, we should use events exclusively for communication between components. Why Are Callbacks Considered an Anti-pattern in Vue?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |