Questions tagged [flux]
7 questions
2
votes
1 answer
Does Flux/Redux concept about application state put bounds on the size of application?
In Redux (React Flux implementation) guide https://redux.js.org/basics/reducers it is said, that
In Redux, all the application state is stored as a single object
My questions are:
How seriously we should take this principle? E.g. my application…

TomR
- 1,003
- 1
- 9
- 17
1
vote
0 answers
Should Flux mutation logic always be done in the store, or can it be delegated to a class?
(I am using Vuex but the question applies to any Flux architecture.)
I don't have a great understanding of the reasoning behind Flux architecture. I understand that it is nice to have all of the state in one place. I don't have a great understanding…

Adam Zerner
- 615
- 1
- 5
- 15
1
vote
0 answers
Is this flux design for angular good?
I am currently on an angular 1.x project, and we are about to add user interactions that will cause data changes.
We already identified some flows in our app that seem like flux might resolve, so we are going to use flux.
We don't yet know flux,…

guy mograbi
- 659
- 8
- 11
1
vote
3 answers
Is it common/appropriate to have a Flux application that combines Actions and Dispatchers?
I just picked up a React/Flux app and I'm new to the technology stack. One of the things that's throwing me off is that just about every tutorial I view on this stack very clearly defines Dispatchers as a necessary component.
I'm wondering if the…

Joe Essey
- 191
- 3
1
vote
2 answers
How to structure a REST API response for a Flux/Redux frontend?
I have a question about how to structure a response where I return objects related to other objects (one-to-many/many-to-one), and to tell me if the way I've structured my endpoints are wrong or not, or if there is a better way.
My scenario:
I have…

Oscar Balladares
- 97
- 7
0
votes
0 answers
Job Scheduling Software
I am designing a Job scheduling software. Users of the software will define the job definition in XML like format https://github.com/etingof/apacheconfig/:
e.g.
job_name myjob
command_name command1
…
user317612
-1
votes
2 answers
React.js + Flux, immediate response during history back/forward
In Instagram (web), when you click back/forward arrows - I've noticed that the content isn't loaded from the server and it immediately show up. After reading the docs on react.js + flux, I had this understanding:
Action -> Dispatcher -> Stores ...…

user6227254
- 1
- 2