rhythnic / riot-redux

A suggested architecture for riot and redux, includes mixin
MIT License
10 stars 2 forks source link

Immutable compatibility #2

Open rhythnic opened 8 years ago

rhythnic commented 8 years ago

Reimplement the update function to check whether or not the state is an ImmutableJS object and handle accordingly.

rhythnic commented 8 years ago

A selector function might be better than a property mapping object, since the state object could have many possible APIs, depending on which immutability library the user chose. Need to look into this more.