Redux is a predictable state container for JavaScript applications based on the Flux design pattern.
2
votes
0answers
25 views
Show dialog to add device and tab
I am just into redux. I am developing a dashboard using ReactJS redux and material-ui for components. It's a large app as my dashboard contains various features like add/edit/delete device, add/edit/...
2
votes
0answers
42 views
React/Redux 401 Middleware
I'm trying to create an API middleware which will react to every 401 response from the API. I've tried to search for possible solutions, but I'm kinda lost here.
I have created a special 401 response ...
1
vote
2answers
137 views
Designing redux state tree
I'm having hard time designing login/logout/any other method that returns something to the UI that has side effects with ngrx/store and(?) ngrx/effects.
I disgree with the way ngrx/effects github ...
2
votes
0answers
41 views
Bind component state to redux store state
I've recently started working on some projects with react & redux.
I understand it is best practice to manage component/UI state inside a component with ...
2
votes
1answer
321 views
Implementing redirect in Redux middleware
Let's say I have following action:
export function signIn(data) {
return {
type: USER_SIGN_IN,
promise: api.post('/sign_in', data)
}
}
and the ...
0
votes
0answers
48 views
Did I do Redux + Reactjs in my website?
I am very new at doing reactjs and redux. I taken a few tutorials and now merged what I learned into my project to cement what I learned.
I hoping people can tell me if my structure looks right and ...
1
vote
1answer
79 views
Counter with increment and decrement buttons
For my first Kotlin project, I'm implementing the Redux pattern with simple Increment and Decrement buttons and a text view to display the current value.
My main questions have to do with Kotlin and ...
1
vote
0answers
55 views
React functional components and JS closures to render lists of users
I'm currently working on a project with React and Redux. I try (successfully so far) to write only stateless functional components. My code now starts having a lot of closures, especially when ...
1
vote
0answers
473 views
CRUD application using React-Redux
I am working on a React-Redux app, which is a CRUD application for a school. The first part was to implement adding/removal of classes (aliased to standard). However, the code seems unreasonably bulky ...
2
votes
2answers
176 views
Redux isomorphic fetch in interval
I'm not really sure if the following solution is the best fit, and I would like to know best practices when manipulating state and/or Ajax isomorphic fetch requests, in this case, in intervals.
...
2
votes
1answer
208 views
Simple recipes web app with Redux
I have completed a coding challenge from Free Code Camp. The challenge's user stories are as follows:
I can create recipes that have names and ingredients.
I can see an index view where the ...