Data dodania Pytanie
2017-09-30 16:09 ReactJS : listenAndPromise return value undefined »
My project file structure App.jsx import './util/config-reflux'; import React, { Component } from 'react'; import createBrowserHistory from 'histor...
(0) odpowiedzi
2017-09-30 10:09 ReactJs : listenAndPromise is not a function »
My project file structure App.jsx import React, { Component } from 'react'; import createBrowserHistory from 'history/lib/createBrowserHistory'; im...
(1) odpowiedzi
2017-09-14 20:09 React reflux createStore $ajax trigger doesnt working »
Hi I'm trying to get data updated with trigger but it dosn't working I'm new at react and reflux my part of code is: import Reflux from 'reflux' impo...
(1) odpowiedzi
2017-08-27 23:08 React, Redux, Reflux + Gulp/Webpack w/ multiple entry points? »
I'm adding new React + Redux applications to a suite where all the current applications are built with React + Reflux. Eventually I will refactor the ...
(0) odpowiedzi
2017-06-13 10:06 Reflux actions that commit multiple local changes to a remote source »
What's a sustainable, consistent and logical way to deal with Reflux actions that commit a number changes that have only been made locally to a remote...
(0) odpowiedzi
2017-05-16 14:05 How to Provide Global Types for External Module without @Types Definitions? »
Using TS 2.3.2 the types format has changed so installing types requires non-global typings or NPM @types for global types. This is all well and good...
(0) odpowiedzi
2017-05-08 17:05 Reactjs - Flux - Component is subscribing to event even before its loaded »
I am using ReactJS with flux. All the pages in my application have subscribed to a event name FilterChange. You will see this kind of code in all of...
(0) odpowiedzi
2017-05-08 14:05 Where to put business logic in redux? action or store »
i come from Reflux to Redux. in Reflux your business logic is exist only in store but in Redux its seems different..for example in "Redux" i have "asy...
(2) odpowiedzi
2017-05-06 17:05 How do I create a responsive sidebar component using React's Material UI? »
I am trying to create responsive side bar using react material design but couldn't find a way to do it. The page content should be responsive when th...
(2) odpowiedzi
2017-04-24 23:04 Reflux.utils.environment is undefined. Why? »
I have the next code and I don't understand why it doesn't work now. The next code inits Reflux that I use in my project: module.exports = { conf...
(0) odpowiedzi
2017-04-04 12:04 Runtime exception when trying to use listenAndPromise from reflux-promise »
We have an existing ReactJs application, written in TypeScript. The application is not in production yet. Recently I updated all referenced NPM packag...
(0) odpowiedzi
2017-03-12 19:03 reactjs reflux handle login »
I'm new to ReactJS and I followed this tutorial: http://adamalbrecht.com/2015/07/20/authentication-using-json-web-tokens-using-rails-and-react/ After...
(1) odpowiedzi
2017-03-03 18:03 React-select refresh options list »
I have an app using React + Reflux and I have a react-select on the page. The only issue I have, is that I need to filter the choices on the 2nd sele...
(1) odpowiedzi
2017-02-18 04:02 What is the difference between seeding a action and call a 'setter' method of a store in reflux data flow? »
What is the difference between seeding a action and call a 'setter' method of a store in reflux data flow? TodoActions['add'](todo) vs TodoStore.a...
(1) odpowiedzi
2017-01-24 21:01 is it possible to use redux and reflux together for a react app? »
So I have an login that is built using redux and a shopping cart built using reflux. is it possible to combine the two safely or do I have to convert ...
(0) odpowiedzi
2016-12-09 19:12 How to get a list of all Reflux actions names and a preEmit hook for all of them? »
I know using Reflux.__keep.createdActions I get a list of all actions created. Is there a way to know the name of these actions? Is there a way to de...
(1) odpowiedzi
2016-11-05 23:11 Import JSX in Reflux Store not working »
I have a module that I am trying to import into a Reflux store. /* ../util/ItemUtil.jsx */ var ItemUtil = { isItemOwner(user, item) {...
(0) odpowiedzi
2016-10-26 13:10 Reflux: How to listen to a subset of actions using `listanables` or `this.listenToMany`? »
Imagine that you have a huge actions object and some components / stores just want to listen subset of it. var actions = Reflux.createActions({ /* lo...
(1) odpowiedzi
2016-10-24 18:10 How to create a new instance of Reflux Store and Action »
I am working with a reusable component that has coordinated dropdowns. One dropdown is the list categories while the other is a list of sub-categorie...
(0) odpowiedzi
2016-10-24 00:10 Mocking Reflux.js store during React component shallow rendering in test with enzyme »
I'm writing React application. I want to test in isolation component that is wired up with Reflux.js store with: mixins: [ Reflux.connect(Count...
(0) odpowiedzi
2016-10-18 12:10 if I want to put two same to-do-list on my page, how to avoid two states effect each other? »
I am new to react and reflux.I want to put two same to-do-list show different data on one page, but when I add one item in one to-do-list, the other o...
(1) odpowiedzi
2016-08-29 01:08 Redux use token in every API request »
I am trying to develop an app using React Native, Redux and Redux Saga. I have the following login flow: Login Form Login Attempt Action Login Sa...
(2) odpowiedzi
2016-08-25 15:08 Uncaught Error : Action is missing a listen method React/Reflux? »
I am New to React Redux.This is a simple App I am developing.But Error is I can't connect to store through Action. This is my error utils.js:78 U...
(0) odpowiedzi
2016-08-03 17:08 creating "gated" react components »
so I have an app that is using Reflux router and I want to create admin only areas in the app. what I'm trying to achieve is when a user goes to a gat...
(1) odpowiedzi
2016-08-01 17:08 How to setup the react-reflux development environment using node js? »
I need to create the React js sample app using the reflux architecture ...
(0) odpowiedzi
2016-07-28 11:07 Store testing with Jest in React reflux »
I testing Stores and all is ok, but when another one store use this.listenToMany(Actions); I cant do in test Actions.do(); in another tests wh...
(0) odpowiedzi
2016-07-19 13:07 Init function isn't calling when Reflux.createStore »
I have mocked store var action = Reflux.createAction('action'); var mockFn = jest.genMockFn(); var store = Reflux.createStore({ init: function (...
(0) odpowiedzi
2016-07-04 08:07 How to trace error in react native in reflux? »
how can i trace this error? screen here I can find 'apply' property in my code. Thanks for the help! I found error by commenting every function on...
(1) odpowiedzi
2016-07-02 16:07 Using OrderedMap.merge to translate Objects to OrderedMaps instead of Maps? »
I'm trying to use OrderedMap.merge to store application state using reflux (specifically reflux-immutable), but I noticed this does not translate Obje...
(1) odpowiedzi
2016-06-28 20:06 ReactJS render() method called more often than necessary in complex RefluxJS application »
I have a RefluxJS application which has several stores and a pretty deep component hierarchy. I've tried to make the components very independent, wit...
(0) odpowiedzi
2016-06-07 08:06 localhost:8080 stopping my reply from API »
I am doing a tutorial on React with Reflux. But Im getting a 404 on the query response. I think it has todo with the url sent to fetch the data. When...
(0) odpowiedzi
2016-06-06 17:06 Reflux.js + React.js trigger result is wrong »
I'm trying to create a dynamic NavBar with react and reflux fetch. This is my actions file: var Reflux = require('reflux'); var SubMenuActions...
(1) odpowiedzi
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