| I'm a complete React fanboy and fully engaged in the React ecosystem, but I'd like to speak up in Vue's defense here. Yes, there's some obvious copying going on here, but this is not a bad thing! There's been a lot of cross-pollination and inspiration between the major frameworks and ecosystems. While I haven't deeply inspected the exact details of the new Vue APIs, my understanding based on discussions is that the Vue team has heavily adapted the hooks APIs for a more Vue-idiomatic approach. This includes things like removing the need for the call order limitation, only calling them once on setup, making use of Vue's reactivity, and so on. Those changes fit well into Vue's stated focus on ease of use and handling a lot of behavior automatically. This gives the Vue community a chance to benefit from some of the same concepts and improvements that the React team has described for hooks, while staying with their same toolset. I'm entirely happy with React and have no plans to switch, but there's plenty of reasons for folks to choose Vue (and similarly, each of the other frameworks). I gave a list of some reasons why you might pick each of them a while back on Reddit [0]. [0] https://www.reddit.com/r/javascript/comments/avsuei/react_vs... |
[0] - https://vuex.vuejs.org/