Data dodania Pytanie
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
2015-11-28 14:11 react+flux/reflux -- is it ok for sub components to call actions »
My question is similar to this one: How to manage component rendering when there are several small, repeatable sub-components I am building a Require...
(1) odpowiedzi
2015-11-27 15:11 How to fast render >10000 items using React + Flux? »
I would like to ask what is the correct way to fast render > 10000 items in React. Suppose I want to make a checkboxList which contain over dynamic 1...
(2) odpowiedzi
2015-11-26 14:11 I want to make a dropdown in React. Clicking a button should open a submenu. Clicking outside of the submenu should close it »
Here is my existing working code. This works fine apart from the fact that if I click outside of the submenu, when it's open, the sub-menu remains ope...
(1) odpowiedzi
2015-11-26 12:11 How to troubleshoot es6 module dependencies? »
I am developing a React & Reflux app, which is bundled by webpack with babel-loader (v6), and I am experiencing es6 modules dependencies issues F...
(1) odpowiedzi
2015-11-26 03:11 Endless loop rendering component on ReactJs »
I'm facing an infinite loop issue and I can't see what is triggering it. It seems to happen while rendering the components. I have three components, ...
(1) odpowiedzi
2015-11-25 15:11 trigger an action after another one executes and store emits in reflux/react »
i am developing an app with react using reflux. the app will have a component that will display progress messages to the user, like a console does, a...
(0) odpowiedzi