Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
development:javascript:react [2020/02/27 12:47] kalenpw [React] |
development:javascript:react [2021/06/29 15:04] (current) kalenpw |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== React ====== | ====== React ====== | ||
| - | --- | + | * [[.react: |
| + | * [[.react: | ||
| + | ---- | ||
| ===== Redux ===== | ===== Redux ===== | ||
| < | < | ||
| Line 14: | Line 16: | ||
| An action is simply an object with a type property to indicate what we are doing | An action is simply an object with a type property to indicate what we are doing | ||
| + | ---- | ||
| ===== Immutability Helpers ===== | ===== Immutability Helpers ===== | ||
| Useful to prevent yourself from mutating the state | Useful to prevent yourself from mutating the state | ||
| Line 19: | Line 22: | ||
| const projects = update(this.state.projects, | const projects = update(this.state.projects, | ||
| </ | </ | ||
| + | ---- | ||