Echo JS 0.11.0

<~>
tracker1 2085 days ago. link 2 points
React uses JS functions and things like map, which JS devs should already know.  Vue uses a DSL, which you have to learn, and frankly looks a bit alien.

Replies

jasonland 2084 days ago. link 1 point
By DSL, are you talking about directives? I do admit that the weakest parts of Vue are some of the conventions in their `<template>` section.

There's other considerations like the inconsistency of React-Router to React, and the over complexity of Redux. CSS in JS is a solved problem with Vue
tracker1 2083 days ago. link 1 point
Yeah, the directives (DSL == domain/document specific language).

I generally use connected router (recent upgrade in a project was fun) which abstracts a lot of it with Redux.  Redux does add a bit of complexity, but that complexity scales incredibly well.  Meaning once you understand the patterns, they're easy to repeat and grow features without more increases in relative complexity.

As to Vue, my issues are almost the opposite, I feel it would be very hard to scale to a larger app without relatively higher rates of additional complexity by comparison.  Even the more modest apps I've worked on with Vue got to be murky in practice.

CSS in JS for Vue is kind of interesting, but similar issues in general surrounding theming.
jasonland 2083 days ago. link 1 point
There's a weird meme I keep seeing that Vue does not scaling well that I've never understood. The state management is very easy to modularize and provides a very clear path to understanding what data goes where.

As for theming, it's trivial to import a master SASS file or 3rd party theme like Bulma and then overwrite where needed in components. Unfortunately my work chose to use Tailwind, so I don't get to reap those benefits.

My issues with React were almost always footguns, like with Redux and its middleware or the three or four ways to handle `onclick`.