redux workflow
First we go to the component
Set up all inputs
Dispatch something (some action) and pass in what parameters you need
Then go to actions
Action will make call to API
API
Makes some crud request (eg. post) and recieves something in return, which is then destructured in our action
Back in actions
Dispatch, passing in type and data we want to send to the reducer
Also in JavaScript:
- react get screen width
- draw on canvas from video element js
- js reverse number
- how to generate a random number between 1 and 6 in javascript
- extjs clone object
- jquery steps next button event
- document delete element
- javascript check if object is null or empty
- set localstorage
- render image url in react native
- node dotenv
- airbnb react native eslint
- store data in browser javascript
- how to reload page on button click in javascript
- how to right plain text format file in node js
- react enzyme simulate click sub component
- event listener javascript
- ansi encoding "vscode"
- javascript split string into array by comma and space
- turning an hex code to rgb discord.js
- nodejs cluster example
- python json change line
- resizing div js
- JSON.stringify with strip slash reactjs