flux Questions
1
I would like to perform some initial data loading when my first route is rendered (for example, i want to load a list of news articles)
I made a component called News.js which renders the articles...
Herwick asked 8/9, 2015 at 16:39
3
Solved
I'm creating a simple CRUD app using Facebook's Flux Dispatcher to handle the creation and editing of posts for an English learning site. I currently am dealing with an api that looks like this:
/...
Friulian asked 27/8, 2015 at 3:40
1
Solved
I am going around React.js and my question is simple: does my app have to be a single page app if I use React?
If no then how do I control components outside of them? By FLUX? Any other standard m...
Battista asked 21/8, 2015 at 1:17
2
I am trying to learn the Flux pattern.
I learned to use React with .net MVC and rendered it server side.
I would like to learn Flux but all tutorials use node js.
I don't use node.
I don't ...
Richert asked 23/7, 2015 at 23:51
2
Solved
What is the proper way to initialize data (asynchronously) with RefluxJS? Is there something similar to AngularJS' resolves, or the Flux implementation has nothing to do with this (The router...
Werbel asked 18/1, 2015 at 17:1
1
Solved
I'm just starting to use flux (with redux for now) and am wondering how relationships are supposed to be handled.
For an example we can use Trello that has boards with columns that contains cards.
...
Towers asked 26/7, 2015 at 20:14
2
Solved
I am a bit confused by the statements: "Renders the whole application" and "Passing state to child components".
Example 1:
I have a todos app with a AppComponent and TodosListComponent. The AppCo...
Phosphoric asked 25/10, 2014 at 15:18
1
Question about store data population in isomorphic flux apps. (I'm using react, alt, iso and node but theory applies to other examples)
I have a flux 'store' (http://alt.js.org/docs/stores/) that ...
Modillion asked 9/7, 2015 at 15:5
1
I know this question has been asked more times in different flavours, but I didn’t find the "right" answer yet (maybe there just isn't one), so I’m looking for the "most Flux" one.
Simple example:...
Rhigolene asked 26/6, 2015 at 15:19
0
I have started to play with react via flummox, react-bootstrap and react-router. I am trying to create a basic isomorphic CMS out of it for my websites.
Context :
In terms of authentication, eac...
Cuckoo asked 10/6, 2015 at 10:20
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
3
i'm trying to use React with Flux architecture and stumbled on one restriction which i can't handle.
Problem is as following:
There's a store which listens to an event. Event has object id. We ne...
Goddard asked 21/4, 2015 at 20:3
2
Solved
I have following React.js application structure:
<App />
<BreadcrumbList>
<BreadcrumbItem />
<BreadcrumbList/>
<App />
The problem is, when I click on <Bread...
Prehension asked 29/5, 2015 at 13:20
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
My limited number of tests seem to suggest that the answer is no. I'm writing a unit test for a parent level React component (aka a controller view) that has a dependency on a store. However, Jest ...
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
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
I am trying to integrate spring-mvc and reactjs, but it's too poor example, but I like flux architect of reactjs so that i strongly want to integrate reactjs with springmvc!
I want to use reactjs a...
Seeseebeck asked 16/4, 2015 at 18:20
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
2
Solved
Now I understand the concept of stores as the source of truth for a React app, but it seems that sometimes using stores is overkill, especially in UI-only situations.
For example, say I'm making a...
Ellen asked 16/3, 2015 at 11:19
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
© 2022 - 2024 — McMap. All rights reserved.