Re:I created the exact same app in React and Vue
by anonytrary on Sunday July 29, 2018 @11:54PM
(#17641931)
To add, you can get very far without Redux! There's a significant subset of Reacticians who think React + Redux are an inseparable whole, and that setState is evil. I really liked Meteor's approach using live-collections in the browser for handling data. The action/dispatch (or whatever) paradigm that Redux forces upon the user feels slightly over-engineered for the problem it solves, and I think it's a source of additional complexity for new users.
[ Parent
| on HN ]
Re:I created the exact same app in React and Vue
by cageface on Monday July 30, 2018 @01:26AM
(#17642261)
Yeah exactly. You can build some fairly complex apps with React alone. Redux itself is also not too hard to understand IMO even if it does add a lot of boilerplate but once you bring in redux-thunk or redux-saga to deal with async actions the learning curve gets very steep.
I haven't tried it yet but I'm definitely going to investigate mobx for my next react app.
Re:I created the exact same app in React and Vue
by abledon on Monday July 30, 2018 @01:36AM
(#17642293)
What are some good tutorials to learn building apps without redux (in your opinion)?
Re:I created the exact same app in React and Vue
by anonytrary on Tuesday July 31, 2018 @03:25PM
(#17656246)
I'm not sure about specific tutorials, but you could look into MobX, Apollo, Minimongo, and other reactive client-side data stores. I thought Meteor collections had a simple API and I think separating reactive-Minimongo from Meteor might still be an unsolved problem. IIRC there were a few people from React working on it a few years ago.