53 ngAir - Angular 2 Reactive Redux with Victor Savkin and Dan Abramov

February 12, 2016

53 ngAir - Angular 2 Reactive Redux with Victor Savkin and Dan Abramov

 

 What is state?

Is there a difference between UI state and persisted state?

 

What problems do people run into with state?

Why is it hard to manage state?

How to keep the state on the client in sync with the state on the server?

 

What are the popular patterns for managing state?

What is used in Angular 1?

Difference between the core ideas and implementations

What does unidirectional mean?

 

What is Redux?

Benefits of redux and similar patterns

Is redux for sync state updates only and is making an HTTP request considered a non-pure inside   a reducer function?

What is ngrx?

How is the reactive version of redux different than traditional Redux?

 What are your feelings on setting change detection strategy to OnPush?

How would one go about debugging the state changes in Angular2?

 

Other general questions

Thoughts on cycle.js?

There is a pattern in Redux if you have the same object in multiple places, you use _id in everything but one.  How would this work with ngrx or another reactive approach? (custom pipe and helpers?)

Rob/Victor: I was starting to think about an Angular 2 decorator that does something similar to the React Redux connect() function but then Rob said it was a bad idea because it will mess with precompilation. What is the deal?

 

Predictions for the future

What approach will Angular 2 developers adopt?

Will a reactive version of redux gain any traction in the React world?

 

Tips & Picks

 

Jeff Whelpley

Links:

 Tips:

 Picks: Our new sponsor, [Auth0](https://auth0.com/)

 

Victor Savkin

 Links: [Managing State in Angular 2 Apps.]

( http://victorsavkin.com/post/137821436516/managing-state-in-     angular-2-applications)

 

Tips: AceJump a great plugin for WebStorm.

 

Picks: Kurt Vonnegut "Mother Night", Brad Mehldau "10 Years Solo Live",

Woody Allen "Manhattan Murder Mystery"

 

Gleb Bahmutov

Links: [Rob Warmald’s talks]

(http://www.roblog.io/angular2/talks/2015/11/29/angular2-data-talks.html) - Angular 2 data flow with nice examples

 

Tips: Everything in your application could be a source of events: button clicks, mouse movements, messages from the server, timer, etc.

 

Dan Abramov

 Tips: No boilerplates

 

Picks: [Redux Saga](https://github.com/yelouafi/redux-saga)

[aphrodite](https://github.com/Khan/aphrodite)

 

Patrick Stapleton

Picks: [What’s new in Webpack 2] (https://gist.github.com/sokra/27b24881210b56bbaff7)

 

Angular Air is a video podcast all about Angular hosted by Jeff Whelpley. Please visit the Angular Air website (http://angularair.com) to see upcoming and past episodes. Also be sure to follow Angular Air on Twitter and Google+ to stay up to date with future episodes. Also, all episodes are on the YouTube channel as well.

 

AngularClass

Learn AngularJS, Angular 2, and Modern Web Development form the best. Looking for corporate Angular training, want to host us, or Angular consulting?

twitter: @AngularClass
email:
info@angularclass.com
chat:
Join AngularClass Chat

00:0000:00

Facebook Comments: