flux Questions

1

Solved

This is more of an architectural question regarding react than a specific issue, but what is considered best practice for managing state/props with a layout component and a several child components...
Tapdance asked 24/6, 2016 at 5:55

2

I started using react-native few weeks ago. For my first app, I used navigator for the navigation with its navigationbar component to display title and left/right hand side buttons. After reading f...
Garett asked 21/4, 2016 at 2:28

1

I am trying to build an app using webpack but found a problem. The stack for the application is React + Flux architecture (ES6 syntax available) and for build system I am using webpack. The problem...
Tainataint asked 29/4, 2016 at 12:21

1

Solved

I am having a scoping issue. I can console.log this.props.routeParams.key from within the constructor. But when outside of the constructor, within the filterList function, I get the error "Uncaught...
Dilisio asked 1/5, 2016 at 14:35

1

Solved

According to https://medium.com/@dan_abramov/smart-and-dumb-components-7ca2f9a7c7d0#.i63w9pvzw Presentational components: May contain both presentational and container components** inside, ...
Vocalism asked 21/4, 2016 at 21:49

1

Solved

I have a react multi step form with a flux store like this: // MultiForm.js .... import LoadFile from './components/LoadFile'; import LoadPeople from './components/LoadPeople'; import Confirmation...
Rauch asked 25/4, 2016 at 13:19

1

Solved

For example... export const user = (state = { id: localStorage.getItem('id'), name: localStorage.getItem('name'), loggedInAt: null }, action) => { case types.LOGIN: localStorage.setItem('...
Lamberto asked 12/4, 2016 at 18:10

1

If you're in a big legacy Angular 1 codebase and you don't want to introduce new dependencies (like ngRedux), would it be a terrible idea to start using classic Angular 1 features, such as $rootSco...
Miniskirt asked 11/4, 2016 at 13:40

2

Solved

I am using the flux-pattern and the flux dispatcher. I need to return a value from 'TextStore' to an action after creating a new TextItem because I need to reference it in another store. Here is a ...
Gracchus asked 29/11, 2015 at 20:8

2

Solved

Im using Flux, React and I have the components Simple and Messages: Simple: it'is a simple component that calls an API by an Action. The Action do a ajax request and dispatch the result in jqXHR....
Emmen asked 9/3, 2016 at 12:45

2

Solved

I don't understand why we need Flux with React as React itself let's us maintain the state of the application. Every component has an initial state and the state can be changed by user actions or a...
Typhus asked 10/3, 2016 at 18:5

3

Solved

I'm learning React JS, which is a javascript library created by Facebook. For larger scale applications, it is highly recommended to use the Flux pattern/architecture. The issue is that all the tu...
Biz asked 29/3, 2015 at 16:9

3

Say I have an action someAction(params) that takes params which is managed in a store paramsStore: paramsStore.listen(function(params) { someAction(params) }) It seems that I can't just call ...
Pemberton asked 1/12, 2015 at 21:11

3

Solved

According to docs state of react app has to be something serializable. What about classes then? Let's say I have a ToDo app. Each of Todo items has properties like name, date etc. so far so good. ...
Anceline asked 2/9, 2015 at 12:20

3

Solved

I'm using alt as my flux implementation for a project and am having trouble wrapping my head around the best way to handle loading stores for two related entities. I'm using sources feature along w...
Printmaker asked 11/2, 2016 at 16:21

2

Solved

Instead of using flux/redux architecture, how react components should communicate with services? For example: There is a container having few representational (react) components: ChatBox - enabl...
Terrill asked 10/2, 2016 at 12:13

5

Solved

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 10000 checkbox items. I make a store which cont...
Zubkoff asked 27/11, 2015 at 14:40

1

Solved

There is interesting article which describes 4 main classes exposed in Flux Utils. Store ReduceStore MapStore (removed from 3.0.0) Container But it's not super clear what should be used for cer...
Peru asked 28/1, 2016 at 20:28

1

In looking around to see what ways other developers are handling input focus when working with Redux I've come across some general guidance for ReactJS components such as this. My concern however i...
Sanctimony asked 17/1, 2016 at 18:8

2

I seem to have encountered a situation where I cannot avoid the dispatch-within-a-dispatch problem in Flux. I've read a few similar questions regarding this problem but none of them seem to have a...
Danit asked 16/1, 2016 at 15:48

1

Solved

Should you ever use this.setState() when using redux? Or should you always be dispatching actions and relying on props?
Hypotrachelium asked 10/1, 2016 at 22:21

1

Solved

How can I update redux's state from a text input? I'm trying to do a very simple "Hello World" with a text input. When someone types into the text input, it should update my store's "searchTerm" v...
Prolonge asked 26/12, 2015 at 18:58

1

Solved

What is the best way to handle state changes in a deep node which also need to be handled by a parent node. Here is my situation: <Table> <Row prop={user1}> <Column prop={us...
Aquatic asked 23/12, 2015 at 7:45

3

Solved

I'm studying the react ecosystem, I came from the AngularJS world and I have no idea which flux implementation should I use... Can anyone explain what's the best, considering that I love the MV* s...
Angulate asked 15/12, 2015 at 15:42

2

Solved

So say you have a chat aplication with this component structure: <ChatApp> <CurrentUserInfo>...</CurrentUserInfo> <ChatsPanel>...</ChatsPanel> <SelectedChatPane...
Epifaniaepifano asked 15/12, 2015 at 21:11

© 2022 - 2024 — McMap. All rights reserved.