News for hackers. Stuff that matters.
Re:Switching From React To Vue.js by wolco on Sunday May 28, 2017 @10:50AM (#14434566)
If we move away from only spa appications vue has other use cases. For a Rails / PHP site that only needs small amount of javascript vue feels like a natural choice to replace some of the existing jquery
Re:Switching From React To Vue.js by bdcravens on Sunday May 28, 2017 @02:40PM (#14435542)
Isn't the same true of React however?
Re:Switching From React To Vue.js by Can_Not on Monday May 29, 2017 @09:57AM (#14439103)
It's not the same. VueJS's documentation to add to an existing non-es6 jQuery based project is ahead of react's, and vuejs is a lot smaller.
Re:Switching From React To Vue.js by jaequery on Sunday May 28, 2017 @07:46PM (#14436603)
no, React will replace your Rails routers.
Re:Switching From React To Vue.js by jimsmart on Sunday May 28, 2017 @08:24PM (#14436732)
That's not strictly true: vanilla React doesn't even use a router until you wire one up. It's perfectly cromulent to use just few bits of React on an existing web app/site.