An open API service indexing awesome lists of open source software.

https://github.com/itmtm/react-redux-ts-app

TodoList and UserList with React, Redux and TypeScript
https://github.com/itmtm/react-redux-ts-app

applymiddleware bindactioncreators createstore dispatch provider react react-axios redux typescript useactions usedispatch useeffect useselector

Last synced: 2 months ago
JSON representation

TodoList and UserList with React, Redux and TypeScript

Awesome Lists containing this project

README

          

# TodoList and UserList with React, Redux and TypeScript
A simple TodoList with React, Redux and TypeScript


![react-redux-ts](https://github.com/ITmTm/react-redux-ts-app/assets/98873757/2fa39543-8d60-4e63-b2b4-f9d525fce927)


## Функции
* Получение списка пользователей используя Fake API {JSON} Placeholder
* Получение списка задач TodoList используя Fake API {JSON} Placeholder
* Переключение списка задач Pagination


## Using work
* Инициализация Redux store используя устаревший медот createStore
* Создание Reducer + типизация
* Объединение reducer используя метод CombineReducer
* Оборачивание App в Provider
* Создание хука UserTypedSelector
* Создание ассинхронного action creator + типизация
* Создание хука UserActions
* Создание второго reducer, масштабирование приложения + постраничный вывод
* Расширение UserActions


## Technologies
[![ReactJS](https://img.shields.io/badge/React-20232A?style=for-the-badge&logo=react&logoColor=61DAFB)](https://reactjs.org)
[![TypeScript](https://img.shields.io/badge/TypeScript-007ACC?style=for-the-badge&logo=typescript&logoColor=white)](https://www.typescriptlang.org)
[![Redux](https://img.shields.io/badge/Redux-593D88?style=for-the-badge&logo=redux&logoColor=white)](https://redux.js.org)


## Getting Started
Tools needed to run this app: `node` and `npm`

- `npm install` to install dependencies
- `npm start` to run the app
- Go to `http://localhost:3000`