News for hackers. Stuff that matters.
Re:Hyperscript Tagged Markup: JSX alternative using standard... by BigJono on Thursday November 22, 2018 @11:35PM (#18514389)
I'm calling bullshit on all these claims of "massive productivity boosts" when switching to Vue. What on earth were you doing in React that was so unproductive? Maybe if you're bogging yourself down with a bunch of absolute garbage like immutable and redux-saga, but you can hardly blame React then.
Re:Hyperscript Tagged Markup: JSX alternative using standard... by daliusd on Friday November 23, 2018 @01:43AM (#18514803)
What's wrong with redux-saga? What alternatives do you offer to solve problems redux-saga helps to solve?
Re:Hyperscript Tagged Markup: JSX alternative using standard... by korm on Friday November 23, 2018 @02:48AM (#18515013)
I assume the point is that some people bog themselves down with tools that make them less productive just because they read that it's best practice, without deeper understanding.

For example, in most threads about Vue on Reddit, the fact that you can just add Vue as a script tag and start working with it is it's most frequently cited advantage.

A small app, especially for most newbies just starting out, doesn't need webpack. But obviously they didn't read the docs and didn't even try the same with React. They just went straight for webpack, even though they shouldn't have. Not to mention CRA exists.

Same with immutable and saga. Their benefits are apparent in much bigger applications, and even then there are arguably simpler and better tools like Immer, update-immutable, redux-thunk, redux-promise-middleware or even rolling out your own middleware.

Re:Hyperscript Tagged Markup: JSX alternative using standard... by daliusd on Friday November 23, 2018 @03:03AM (#18515057)
Why beginner would try that with React? Official documentation does not even offer this approach. Meanwhile Vue.js official documentation gives basics first with this approach.