people just give up and just use it as key value store • It has too many friends ◦ react-redux, immutablejs, redux-immutable, redux-thunk/saga ◦ Some people add reselect, redux-action • It is hard to get new people onboard ◦ Not only they have to learn React and Redux, they have to learn ALL of the above as well
of wongnai.com page content is Redux state. Why we have to send you empty delivery coupons store when you'll never look at it? ◦ We're working on it. Stay tuned on life.wongnai.com
$http.get('/_api/restaurants.json') .then(function(response){ $scope.data = response.data; }); fetch('/_api/restaurants.json') .then((res) => res.json()) .then(action((data) => { scope.data = data; })); AngularJS MobX Put this where you used to put $scope.$apply
=> ( <ul>{state.data.map((item, index) => ( <Item key={index} item={item} /> ))}</ul> )); Dereference things as late as possible <Item key={index} name={item.name} />