Data dodania Pytanie
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
2015-11-24 09:11 React JS Component "wait for props" »
This is not a question as much "how to make this work" as much as it is a "was this the best way." Here's my code: /** * React Static Boilerplate *...
(1) odpowiedzi
2015-11-23 03:11 React Reflux Stores: Difference between calling trigger() with parameters vs. without parameters »
I have a React App with a Reflux Store where some components listen to the trigger() and then calls the Reflux store getters to retrieve its updated s...
(1) odpowiedzi
2015-11-22 15:11 Updating the display of a row in a list »
I am implementing a React - Reflux architecture based application, which shows a list of rows in a page. Each row in the list allows inline editing o...
(1) odpowiedzi
2015-11-20 17:11 React Js, Reflux render before ajax response »
I would like to get my users list with the api call and render a table with the data. At the moment I can get the data but wen I try to display it, I...
(2) odpowiedzi
2015-11-16 16:11 Reflux/React - Managing state with asynchronous data »
I think this is a trivial use case but I am still getting to grips with aspects of Flux and React. In my example I am using Reflux and React Router. ...
(2) odpowiedzi
2015-11-12 18:11 How to properly initialize a store with the props of a component »
I'm relatively new to the React/Reflux thing so excuse me if it's a dumb question. I have a React component that I want to use many times in my applic...
(0) odpowiedzi
2015-11-12 14:11 Passing Props to Reflux store? »
Is it possible/advisable to pass props to a Refluxjs store? I'm refactoring some existing code that takes an API path as one of it's parameters. My...
(1) odpowiedzi
2015-11-10 01:11 How to setState to one particular component instance in RefluxJS? »
I'm currently doing one small project in React + Flux (RefluxJS) and I faced wit one issue I can't solve. I would be very gratefully if someone of you...
(1) odpowiedzi
2015-11-09 04:11 React.render() not rendering component »
I'm trying to get my head around React, Reflux and JSX. I have a simple file I'd like to try and get working. <html> <body> ...
(1) odpowiedzi
2015-11-08 04:11 Reflux listenAndPromise do action many times »
i have some actions in reflux actions, this is my actions var BeritaActions = Reflux.createActions({ 'getListBerita': { children: [ 'acti...
(0) odpowiedzi
2015-11-04 12:11 Which architecture pattern should i use for React Native? »
i am developing an React Native App for Android. Now I am at the point where i need to do a lot of Remote/Network request calls and i have problems fi...
(0) odpowiedzi
2015-11-01 22:11 reactjs + reflux // testing components fetching remote data »
Pretty new to testing reacts apps (and JavaScript apps in general), I'd be looking into understanding how tools like mocha or others works, when you'd...
(0) odpowiedzi
2015-11-01 22:11 Triggering an action from a store or accessing a store inside an action »
I am building a test application using reactjs and refluxjs where I show a list of images from an API with pagination. Currently I have one PicturesS...
(0) odpowiedzi
2015-10-28 00:10 Is having Store getters with Promise an anti-pattern in Reflux »
I'm getting into reflux and am embracing the single direction flow. That said, I'm struggling with the idea of Components having to fire an action ju...
(1) odpowiedzi
2015-10-26 18:10 Why is the store did not see action in reflux? »
I get the following error actions.toggleMenu is not a function I create a action module.exports = Reflux.createAction([ 'callAi', 'logo...
(1) odpowiedzi
2015-10-19 20:10 Clearing data from multiple Stores in React Reflux from one Action function »
I have a simple _clear function in my AuthActions file which sets this.data to undefined. I am calling this function only when a user logs out. When I...
(0) odpowiedzi
2015-10-18 16:10 Reflux - Multiples actions in the same view »
I'm pretty new using reactjs & reflux and I have no idea how to implement the next situation: I have a view with some tabs, each tab is going to ...
(1) odpowiedzi
2015-10-13 16:10 What's the best way to use reactjs and rails asset pipeline? »
I'm using ruby on rails (with asset pipeline), reactjs (with react-rails gem) and reflux. Currently I am defining all react components, reflux stores...
(1) odpowiedzi
2015-10-08 12:10 How to handle (Re)Flux Stores for re-usable pages »
I'm quite new to Flux (I'm using Reflux in this case), and I'm a little confused about how to use Stores. I have an application which has a number of...
(0) odpowiedzi
2015-10-06 00:10 RefluxJS "single" store? »
Well.. I created a upload component, when user upload a image the component show a image preview using FileReader API. But, if I've been using 3 comp...
(1) odpowiedzi
2015-10-02 08:10 How does react-router pass params to other components via props? »
Thus far, the extent of my knowledge about how properties are passed from one component to another via parameters is as follows //start: extent of my...
(1) odpowiedzi
2015-09-30 00:09 try/catch in stores in Refluxjs + React »
I'm throwing exceptions in a Store using RefluxJS, but in my Component I can't handle this exception. My store code: var Reflux = require('reflux');...
(0) odpowiedzi