Reflux - Manually Triggering Actions

Share this video with your friends

Send Tweet

Reflux actions don't need to be used within React components, you can trigger them from anywhere. John demonstrates this concept by extracting the actions away and then invoking them through jquery.

Tristan Smith
Tristan Smith
~ 10 years ago

I find this interesting, as I've been attempting to convert over the flux app example over to reflux and this was one of the really interesting parts about it I found.

here's my working version https://github.com/darcnite3000/egghead-react--re-flux-example