Data dodania Pytanie
2016-05-01 03:05 react store action listener should transition to new component on button press using react-router »
I am new to reactjs/react-router/reflux. I have been stuck trying to get the action listener to invoke a page transition to a new component on a bu...
(0) odpowiedzi
2016-04-29 16:04 Queuing asynchronous actions in reflux »
When using RefluxJS stores with asynchronous actions, you can easily end up having race conditions between your actions. Abstract description of the ...
(0) odpowiedzi
2016-04-25 09:04 How to update component when store data its updated »
Hi I'm trying to understand reflux but I'm very newbie. I want to update my component <Content /> when <AddContent /> trigger my new conte...
(0) odpowiedzi
2016-04-22 21:04 why in react flux: component this.state is updated automatically when store changed? »
I am confused why in component as bellows, this.state is automatically changed when corresponding store updated? The compoenent is listening to MySto...
(0) odpowiedzi
2016-04-20 16:04 Grails Project with React/Flux »
I am currently working on a project in which we are having a React/Flux UI being developed for us. I am being told that the UI code needs to be conver...
(3) odpowiedzi
2016-04-15 12:04 How to pass application settings to store »
In terms of clean react application design, I'm sure sure how to pass around application settings to modules which are not part of the component tree....
(1) odpowiedzi
2016-04-15 05:04 Reflux is not triggering the render »
The component go to the action inside the stores, changes the state and then it try to trigger the render with this.trigger(this.state); but nothing h...
(0) odpowiedzi
2016-04-15 03:04 Work with two or more states on Reflux »
I want to try work with differents states in the stores of Reflux, I have this code: /* Module dependencies */ import Reflux from 'reflux'; import A...
(0) odpowiedzi
2016-04-08 13:04 How can I change the reflux listenTo mixin based on a prop in a react.js component »
Can anyone help with this... I have this list component and I want to be able to switch different data stores (defined in props) mixins:[Reflux.list...
(2) odpowiedzi
2016-04-04 00:04 Flux Handling Action State »
When i am correct in flux there are 2 different kinds of state Application State (in Stores) View State (in the Component) i am trying to build a ...
(0) odpowiedzi
2016-03-31 08:03 What is the core difference of redux & reflux in using react based application? »
Recently i do a pre study on developing an E-commerce site and discover that redux and reflux ,both comes from flux architecture in facebook and both ...
(1) odpowiedzi
2016-03-23 01:03 Reflux state update not showing change of defaultValue of textarea? »
I'm using Reflux for a forum, and I'm trying to make it so the user can select a category to write in and then fill out a template. For this, I hav...
(1) odpowiedzi
2016-03-22 15:03 Component state not updating from trigger »
I'm trying to update the state data in my page component, the callbacks are firing and the correct data is going into each page but the edited value d...
(0) odpowiedzi
2016-03-11 22:03 ReactJS Reflux using mixins with ES6 »
How do you solve mixins with reflux using ES6? Like this: mixins: [Reflux.listenTo(myStore, "onChange")] ^ Results in erro...
(1) odpowiedzi
2016-03-10 19:03 Flux: Should Stores inform components about what's changed? »
I have a question regarding web application architecture such as Flux and related. Note that I don't use React.js, this question is purely about the a...
(1) odpowiedzi
2016-03-10 19:03 Why do we need Flux with React? »
I don't understand why do we need Flux with React as React itself let's us main state of the application. Every component has a initial state and the ...
(2) odpowiedzi
2016-03-07 14:03 Action that fires after store has been changed »
I have following Store and Actions const AliceStore = Reflux.createStore({ update() { var aliceNewValue = ... this.trigger(aliceNewValue); ...
(1) odpowiedzi
2016-02-28 13:02 Uncaught TypeError: Reflux.listenTo is not a function »
My code looks like this: mixins: [Reflux.listenTo(ItemStore,"onChange")], .... onChange: function(items) { this.setState({items: items}); }, ...
(0) odpowiedzi
2016-02-27 18:02 Reactjs component calling flux/reflux store directly (bad practice?) »
I have a SessionStore where as you might guess, I store and handle the firebase session object. I have a component where it would be easy to ask if s...
(1) odpowiedzi
2016-02-25 12:02 Reflux setup, use mixin or similar to make code more maintainable? »
As a reflux beginner, I have tabbed content on my page whose data is being updated using reflux, using these methods in my store: setDefaultStudentDa...
(0) odpowiedzi
2016-02-18 16:02 How to connect my react component to reflux store? »
I am kinda new to React and Reflux and modern JavaScript development. Trying to learn. So, I am making a component that is basically a sort of a chat ...
(1) odpowiedzi
2016-02-11 21:02 Redux child not updating parent component state »
I think I am missing something crucial here. I want the App component to register different children based on the states value. When the button from U...
(1) odpowiedzi
2016-02-10 12:02 How do I make my store private in React reflux »
How do I enforce my store functions and model private. If my store is var employeeActions = Reflux.createActions(['addEmployee']); var empStore = Re...
(0) odpowiedzi
2016-02-03 11:02 Navigating to IndexRoute causes all future route transitions to no longer render correctly »
Navigating around my app routes works fine however there is an edge case - if I navigate to Link X, then IndexRoute, then Link Y my components return ...
(0) odpowiedzi
2016-01-26 08:01 React - why I still got same result when I already change the state »
Below is my content.jsx var React = require('react'); var Reflux = require('reflux'); var ApplyInfo = require('./applyInfo'); var Actions = require...
(2) odpowiedzi
2016-01-19 14:01 c3.js chart add button on right side of chart using reactjs »
I need to show button right side of the c3.js chart. I have tired extend the objects of c3.js chart but it doesn't help me . How do I approach it? ...
(0) odpowiedzi
2016-01-13 20:01 React/Reflux data flow: One component twice in DOM »
Suppose I have the following Tree: <LandingPage> <PageHeader> <Menu> <ShoppingCart> </Menu...
(1) odpowiedzi
2016-01-05 12:01 Migrating Reflux Stores to ES6 syntax »
I have been trying to refactor Some existing React-Reflux code to ES-6 syntax, I have 3 Stores for people, Projects and events. They Do basically the...
(0) odpowiedzi
2015-12-29 11:12 'this' undefined in Reflux.createStore() »
I'm trying to set state properties via this in my Reflux store, but whenever I attempt to set a property I get the following error: Uncaught TypeErro...
(2) odpowiedzi
2015-12-27 00:12 How re -render parent if child triggered state changes (Redux)? »
I called the state change of the child. And it so happened that I need to change the parent ...
(0) odpowiedzi
2015-12-19 17:12 ReactJs + Reflux // trigger is executed on null component? »
I'm trying to use Reflux inside my ReactJs app. I'm having an issue where a component listening to a data store is executing the callback on an empty...
(2) odpowiedzi
2015-12-14 19:12 General route interceptors for react-router »
Once a user logs in, they cannot continue until they complete their profile. If a user tries to navigate to a different page, I want to intercept them...
(1) odpowiedzi
2015-12-13 08:12 Trigger Notification/Callback after reflux action execution »
I recently used reflux in my project and here is a question puzzled me a lot. As the reflux pattern, I call actions in my React components, and fetch ...
(0) odpowiedzi
2015-12-09 12:12 contenteditable div caret position issue with reflux but not flux »
newby alert I am trying to use a contenteditable div in a react component hierarchy. I am hoping to use reflux instead of flux as I like the way one ...
(1) odpowiedzi
2015-11-30 11:11 How should a component access data from a store? »
In my React app, when a user logs in, their user data is set to UserStore.currentUser. How should components access UserStore.currentUser? It seems t...
(2) odpowiedzi