News for hackers. Stuff that matters.
Re:Switching From React To Vue.js by elnygren on Sunday May 28, 2017 @09:09AM (#14434249)
Vue and React both seem a little too heavy in boilerplate. It's also interesting that Vue seems to think that mutable state is a good thing (well, vanilla React does have mutable state too...).

For the boilerplate (and large bundle size!) problem we have http://markojs.com that looks very interesting.

However, I think what we really might want is something closer to ClojureScript's re-frame (https://github.com/Day8/re-frame) and Reagent. However, Clojure and it's tools aren't really that great for beginners/juniors and/or people with little experience in FP and lisps.

Maybe in the near future we'll see a little bit more FP style JS solutions pop up?

Re:Switching From React To Vue.js by theprotocol on Sunday May 28, 2017 @10:45AM (#14434538)
At the risk of sounding like a shill (I bring up Riot a lot), check out Riot.js. It's a bit rough around the edges in terms of docs/presentation, but it's by far the most minimalistic and most productive "react-like" ui lib I've used.

It's all very very expedient and you can pick it up in a day and be churning out advanced applications with very little mental load. It also supports in-browser compilation so you can get up and running instantly without having to set up Webpack/Browserify/Whatever, which is great for testing it out. Later on you can easily transition to using its offline compiler + whatever packager you want.

The main downside is the community is small. But it's very close to Vanilla JS so I've practically never encountered an issue where I needed riot-specific help.

Re:Switching From React To Vue.js by elnygren on Monday May 29, 2017 @03:51PM (#14441044)
I've done some work on Riot actually!

If you like them, check out RE:DOM - the author of that one did some work on Riot too.

RE:DOM might be even more minimalistic and lightweight than Riot.

Re:Switching From React To Vue.js by kimjongman on Sunday May 28, 2017 @09:17AM (#14434275)
marko looks good