Skip to main content

Questions tagged [redux]

Redux is a predictable state container for JavaScript applications based on the Flux design pattern.

2 votes
0 answers
41 views

I'm quite new to React hooks/Typescript/Redux. I'm building a mock e-Commerce website for my portfolio. I've got a component (Category) working and rendering data with no issues, it follows the below ...
Corey's user avatar
  • 21
3 votes
1 answer
94 views

I created my first React app with Redux and this a simple memo game with possibility to select difficulty level. I am new in React world, so it would be great if you review my project :) Project ...
Maciek's user avatar
  • 33
2 votes
1 answer
43 views

I'm building a game interface that has the following user flow: The user lands on one of the game's URLs (eg. www.name.com/game1), first gets an "intro" ...
HunterListInsight's user avatar
2 votes
0 answers
144 views

Does the below TS type still need to be improved? I use actions: any as the more general signatures. Is there any better way? ...
Lin Du's user avatar
  • 159
0 votes
1 answer
136 views

I have a settings section to my UI which keeps track of a myriad of user settings. The settings are requested from an API when the app loads, and then used in the section to populate what the user's ...
Seth Lutske's user avatar
0 votes
1 answer
156 views

This is my first time trying to add clean error handling and loading notification for async requests in my project. It looks kind of bulky to me, but maybe that's because I'm inexperienced? This is ...
KGE's user avatar
  • 11
2 votes
1 answer
85 views

I have several products. A product can have 1 or more images. In each image, we have content slot. I don't want duplication per content slot in a product. My code works fine. I'm just wondering what ...
Joseph's user avatar
  • 123
3 votes
1 answer
97 views

I made a weather app in react and redux for an interview. The response was that I didn't use redux properly, and that it has unnecessary props. I'm not sure what they meant. The app is on github https:...
s-e1's user avatar
  • 33
3 votes
2 answers
100 views

I have these few helper function that are used to check if the string in the given array is present and if the certain steps are present and then only have the other function fire. The reason I ...
Mateen Kazia's user avatar
2 votes
1 answer
53 views

I am using Redux Toolkit and have a general-purpose ui-slice that I use for UI states that I need globally. In particular I have few components that need to know ...
anotherOne's user avatar
2 votes
1 answer
207 views

https://codesandbox.io/s/react-quiz-kb1xb I was wondering what could be improved upon it. I am looking at how it's using Redux and how it's also using hooks and I don't really see anything wrong with ...
user avatar
2 votes
0 answers
173 views

Description of the App:- A React app that shows the public Github repositories of a user. The app shows an input field where we can enter a Github username and a submit button. {It provides users the ...
ryan's user avatar
  • 121
6 votes
1 answer
107 views

I've just taken the leap over to RTK instead of 'vanilla' redux and am blown away by how much less code I need to write. I'm not entirely sure how to structure my slices, however, and figured I'd ask ...
Alexander's user avatar
1 vote
1 answer
54 views

A component displays a list of values and I'm trying to hide everything about how those values are gotten, essentially divorcing concerns about state away from the component itself so that in the ...
Coupcoup's user avatar
  • 1,086
3 votes
1 answer
274 views

This is a pretty simple working example using React-Redux to select a user from app.com/user/:userId and then fetch/display that user's info from a remote API Most ...
Coupcoup's user avatar
  • 1,086

15 30 50 per page
1
2 3 4 5