reactjs-flux Questions

2

Solved

I'm trying to understand Flux and Reactjs. Consider a following, very simple scenario: You have a form with few inputs. When user submits form, ActionCreator.publishAnnouncement(this.state.anno...
Eskridge asked 15/4, 2015 at 13:16

2

For the last week now I've been completely at a loss for how to set up server side rendering with React. This is a new project but it's an express server and I'm attempting to render just a super s...
Rascality asked 28/3, 2015 at 17:36

2

Solved

An application that I develop was initially built with Flux. However, over time the application became harder to maintain. There was a very large number of actions. And usually one action is only ...
Zanezaneski asked 28/11, 2014 at 14:31

1

I like Zurb Foundation (SASS and especially Zurb Foundation for Apps) but would like to use it with Facebook ReactJS and Flux That is removing AngularJS and replacing it with ReactJS / Flux. A gre...
Transfix asked 29/1, 2015 at 9:17

2

The Facebook Flux dispatcher explicitly prohibits ActionCreators from dispatching other ActionCreators. This restriciton is probably a good idea since it prevents your application from creating eve...
Fatally asked 16/9, 2014 at 4:27

2

Solved

I'd like to unmount a single react component, which belongs to a parent component containing three components total. The parent component has this render function: render: function () { return ( ...
Semifluid asked 26/5, 2015 at 0:43

1

Stores are supposed to handle the events triggered by actions and emit the change to the listening view controllers. Is it ok for them to trigger actions as well, for example in the callback of a ...
Sharrisharron asked 28/1, 2015 at 21:50

1

I'm tying myself in knots with a React problem which I'm sure can't be as difficult as it seems to me right now. I'm building a single page app against a RESTful server API that returns resources,...
Egyptology asked 22/5, 2015 at 19:32

1

Solved

I'm new to Flux/React and I'm having a hard time understanding some of the fundamental architecture decisions: I know all stores are meant to be singletons, but are they all created at app start,...
Gentilis asked 14/5, 2015 at 21:16

2

Solved

In the Facebook talk on the Flux architecture, Jing mentions at 12:17 that the dispatcher enforces that no actions can be dispatched until the current action is fully processed by the stores. ...
Compound asked 13/5, 2014 at 15:51

2

I understand that this image has been the ultimate guide of most, if not all, Flux programmers. Having this flow in mind, I have a few questions: Is it correct/highly advisable to have all of m...
Gripping asked 1/5, 2015 at 11:34

1

Imagine something like Quora. [ { type: "question", answers: [ { type: "answer", upvotes: [ { type: "upvote" } /* more upvotes */ ], comments [ { type: &...
Cons asked 12/4, 2015 at 13:36

1

In Flux, what is the point of using actions, instead of just letting the component publish directly to the dispatcher? What is it that I can't do without actions?
Fugleman asked 16/4, 2015 at 14:28

4

What is the advantage of using Flux over a global event bus? I think the dispatcher is all that is needed: component publishes 'user event' with data to the dispatcher dispatcher executes handl...
Dwell asked 15/4, 2015 at 6:12

1

Solved

I use Reflux, and normally I'm triggering after I made an ajax call, and it works well. For testing purposes I didn't need ajax call and I noticed that trigger won't work unless I give a min 5ms ti...
Johnsonian asked 27/3, 2015 at 19:24

1

Facebook announced Relay and GraphQL. However, they are not available yet. Are there alternative libraries that accomplish similar goals that can be used today?
Caiaphas asked 22/3, 2015 at 13:30

1

Solved

I'm building a Word Dojo clone in React/Flux. The game is essentially Boggle - you make words by clicking on adjacent letters in a grid: My React components with their source: Gameboard TileC...
Counterforce asked 20/3, 2015 at 12:21

2

I'm using nodejs and usually pass down csrf token like the following: util.js module.exports.csrf = function csrf(req, res, next){ res.locals.token = req.csrfToken(); next(); }; app.js app...
Tanager asked 11/3, 2015 at 20:6

1

Solved

I am trying to set up the most basic app in Flux-React. Its sole goal to is fire an Action, which gets sent through the Dispatcher to a Store that has registered with the Dispatcher. The store the ...
Stokeontrent asked 3/3, 2015 at 2:5

3

Solved

I'm writing tests for a React application which makes use of Fluxxor to provide an event dispatcher. Making that work requires telling Jest not to mock a few modules which are used internally, and ...
Magician asked 29/7, 2014 at 14:10

1

Solved

In the flux webchat example application and in the README diagram, it seems like the action creator should retrieve the data from the server. The problem I see is that no fetch might be required...
Uriiah asked 6/2, 2015 at 22:13

1

Solved

I'm trying to use the waitFor function of react.js but it seems I'm doing something wrong. What I want to do i basic, wait for a store to be filled before calling it from another store. 1.Register...
Budde asked 26/1, 2015 at 9:31

1

I've been working with Flux and I'm really enjoying, but I have one point where I cannot figure what would be the best solution. I made an app that handles a list of orders, and each order in the l...
Tedium asked 14/2, 2015 at 23:5

1

I am using react with Flux architecture. I've read on the web that in order to define Store, I have to do something like that: var AppDispatcher = require('../dispatcher/dispatcher'), //facebook'...
Gerger asked 28/1, 2015 at 16:25

1

Solved

I have a React.js application that I am refactoring to use the Flux architecture, and am struggling to figure out how error handling should work while sticking to the Flux pattern. Currently when ...
Thorianite asked 15/1, 2015 at 5:46

© 2022 - 2024 — McMap. All rights reserved.