Top "Flux" questions

An application design paradigm used as a replacement for MVC, pioneered at Facebook by Jing Chen

Should you ever use this.setState() when using redux?

Should you ever use this.setState() when using redux? Or should you always be dispatching actions and relying on props?

reactjs flux redux
How to put methods onto the objects in Redux state?

According to docs state of react app has to be something serializable. What about classes then? Let's say I have …

javascript reactjs flux redux
Redux state persistence with a database

From the discussion here it seems that the state of Redux reducers should be persisted in a database. How does …

reactjs flux reactjs-flux redux
What is the core difference of redux & reflux in using react based application?

Recently I conducted a preliminary study on developing an E-commerce site and discovered that redux and reflux both come from …

reactjs redux software-design flux refluxjs
How do I add redirect to react-router dynamically?

I have sign in component, which should be available for unauthenticated users. And right after the authentication this component should …

reactjs flux react-router
How to deal with query params in react + react-router + flux

I'm trying to replace a Backbone.Marionette App to React and am facing difficulty thinking about query params. I think …

reactjs flux react-router
react-router : run is not a function

A Egghead tutorial teaches it like this: var React = require('react'); var Router = require('react-router'); var routes = require('./config/…

javascript reactjs react-router url-routing flux
Is it OK to call setState from within shouldComponentUpdate?

In response to a state change, I want to trigger another state change. Is that inherently a bad idea? The …

reactjs reactjs-flux flux
Getting router params into Vuex actions

I would like to pass router params into Vuex actions, without having to fetch them for every single action in …

javascript flux vue.js vuex
Reactjs: Key undefined when accessed as a prop

Tools: Reactjs 0.14.0 Vanilla Flux I need unique identifiers for 2 reasons: Child Reconciliation Keeping track of what child was clicked So …

javascript reactjs flux reactjs-flux