Problem I’ve been working on a crime map demo – and I am keen to learn more about how to […]
Tag: redux
React quiz app with Redux, React Router
Problem 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 […]
Redux reducer with a filter
Problem I’m wondering if my approach to creating a filtered array (filteredLaunches) from an array of data (launches) is an […]
Filter Options in React
Problem I have several products. A product can have 1 or more images. In each image, we have content slot. […]
Redux Toolkit Structure with TS
Problem I’ve just taken the leap over to RTK instead of ‘vanilla’ redux and am blown away by how much […]
Generic dataloader for redux-thunk using axios
Problem I am developing an application where there are lots of async actions. I wanted to go with redux-saga but […]
Flux architecture implementation (vanilla JS)
Problem I’m trying to better understand flux-style architecture, so I wrote this snippet to clarify how a simple flux system […]
Doubling of state to speed up UI performance in React with Redux
Problem I have a settings section to my UI which keeps track of a myriad of user settings. The settings […]
Photo rating function
Problem I want to create a photo rating function. If I click thumbs up then votes increase, and if I […]
Redux: button click potentially fires 3 action for different reducers
Problem I’m using Redux and thunk, I have a list component class List extends Component { render() { //code } […]
- 1
- 2