Data dodania Pytanie
2016-05-28 12:05 How to listen Reflux store for a particular action? (ES6 way) »
I have the following class class MyComponent extends React.Component { constructor(props) { super(props); this.state = {} } compo...
(1) odpowiedzi
2016-05-24 18:05 Reflux - How do I decide whether to create a new store or extend an existing one? »
In theory, it seems like you could have a single store that keeps track of your entire application state or you could also have a store for each piece...
(0) odpowiedzi
2016-05-19 01:05 How do I guarantee the data (async) is ready when the user clicks on an option of an actionSheetIOS? »
I am developing an IOS app using React Native and Reflux. When the user opens up a certain actionSheetIOS, I trigger an action which causes the store...
(2) odpowiedzi
2016-05-11 12:05 Languages translation using reactjs & reflux »
I am new to reactJS, I am working on a web app to make it multilingual, so I am looking for any library which handles translation in ReactJS (similar ...
(0) odpowiedzi
2016-05-07 03:05 Detecting when scrollbar is at bottom in React/Reflux Component »
I have a React component that loads in data from an API and creates 20 smaller components using that data. I'm attempting to make another call to API ...
(0) odpowiedzi
2016-05-06 23:05 What are some alternatives to componentDidMount for registering store listeners and invoking actions on route transition? »
Say I have a user profile component being served by a react-router route. //RouteStrings is just an object which defines my constant string values &...
(1) odpowiedzi
2016-05-03 19:05 Reflux connect/trigger behavior change after upgrade »
I recently upgraded Reflux from v0.3.0 to v0.4.1 When I first tested my code after the update, the only change I had to make was to add a key to my c...
(1) odpowiedzi
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