Skip to content

Commit

Permalink
r/r module 4, redux-toolkit
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanpetrychenko committed Oct 27, 2021
1 parent c73678d commit fa7375b
Show file tree
Hide file tree
Showing 485 changed files with 129,099 additions and 198,464 deletions.
21 changes: 4 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,20 +67,7 @@
* **React_step_30** - Разделены функции-редьюсеры и применена функция createSelector
* **React_step_31** - Применен усилитель store (enhancer)
* **React_step_32** - Применен собственный middleware

### Старая редакция курса "Библиотека React + Redux"

* **React_step_1** - практика ES6+ рефакторинга
* **React_step_2** - применяем стили к нашему приложению
* **React_step_3** - работа со state/props и проверка на пустой объект
* **React_step_4** - кастомные события и иммутабильность
* **React_step_5** - работа с формами
* **React_step_6** - новый проект и все методы для работы с GOT API
* **React_step_7** - кнопка переключения случайного персонажа
* **React_step_8** - работа с жизненным циклом компонентов
* **React_step_9** - паттерны React и маршрутизация
* **React_step_10** - приложение-счетчик Redux, но без React
* **React_step_11** - приложение-счетчик React + Redux
* **React_step_12** - Приложение ресторана Часть 1
* **React_step_13** - Приложение ресторана Часть 2
* **React_step_14** - Приложение ресторана Часть 3
* **React_step_33** - Применен thunk-middleware и созданы комбинированные action creator’ы
* **React_step_34** - Применены функции configureStore, createAction и createReducer
* **React_step_35** - Созданы срезы героев и фильтров
* **React_step_36** - Созданы АС при помощи createAsyncThunk
23 changes: 23 additions & 0 deletions React_Redux_step_33/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
1 change: 1 addition & 0 deletions React_Redux_step_33/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This is test project with hero admin panel!
49 changes: 49 additions & 0 deletions React_Redux_step_33/heroes.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"heroes": [
{
"id": 1,
"name": "Первый герой",
"description": "Первый герой в рейтинге!",
"element": "fire"
},
{
"id": 2,
"name": "Неизвестный герой",
"description": "Скрывающийся в тени",
"element": "wind"
},
{
"id": 3,
"name": "Морской герой",
"description": "Как аквамен, но не из DC",
"element": "water"
}
],
"filters": [
{
"name": "all",
"label": "Все",
"className": "btn-outline-dark"
},
{
"name": "fire",
"label": "Огонь",
"className": "btn-danger"
},
{
"name": "water",
"label": "Вода",
"className": "btn-primary"
},
{
"name": "wind",
"label": "Ветер",
"className": "btn-success"
},
{
"name": "earth",
"label": "Земля",
"className": "btn-secondary"
}
]
}
Loading

0 comments on commit fa7375b

Please sign in to comment.