reflux / refluxjs

A simple library for uni-directional dataflow application architecture with React extensions inspired by Flux
BSD 3-Clause "New" or "Revised" License
5.36k stars 330 forks source link

mixin is deprecated in React v0.14, what should we do? #466

Closed astwyg closed 8 years ago

astwyg commented 8 years ago

as we all know, mixin is deprecated in React v0.14, so how should we use Srore in component?

jamesmarrs commented 8 years ago

Hey @astwyg, usually theres another way to implement the desired functionality without mixins in reflux, could you provide an example of a problem you are running into?

astwyg commented 8 years ago

thanks @jamesmarrs , i am new in reflux, but want to use it, while reading demo with mixin function make me a little worry.

devinivy commented 8 years ago

You can still use the programmatic interface for listening to stores, etc. See #225 for the future– we'll accept a PR to make refluxjs class-based. If anyone would like to make a note in the readme about this issue, that would be welcome.