PIbd-21_Yaruskin_S.A_IP/лаб5
2024-01-10 21:39:02 +04:00
..
fonts lab5 2024-01-10 21:39:02 +04:00
icon lab5 2024-01-10 21:39:02 +04:00
img lab5 2024-01-10 21:39:02 +04:00
public lab5 2024-01-10 21:39:02 +04:00
src lab5 2024-01-10 21:39:02 +04:00
.eslintrc.cjs lab5 2024-01-10 21:39:02 +04:00
.gitignore lab5 2024-01-10 21:39:02 +04:00
data.json lab5 2024-01-10 21:39:02 +04:00
index.html lab5 2024-01-10 21:39:02 +04:00
jsconfig.json lab5 2024-01-10 21:39:02 +04:00
json-server.json lab5 2024-01-10 21:39:02 +04:00
package-lock.json lab5 2024-01-10 21:39:02 +04:00
package.json lab5 2024-01-10 21:39:02 +04:00
README.md lab5 2024-01-10 21:39:02 +04:00
vite.config.js lab5 2024-01-10 21:39:02 +04:00

Окружение:

Настройки плагина CSS Class Intellisense находятся в файле ./vscode/cssconfig.json

Команды

Создание пустого проекта:

npm create vite@latest ./ -- --template react 

Установка зависимостей:

npm install

Запуск проекта в режиме разработки (development):

npm run dev

Запуск проекта в продуктовом режиме (production):

npm run prod

Полезные ссылки

  1. Updating Objects in State - https://react.dev/learn/updating-objects-in-state
  2. Sharing State Between Components - https://react.dev/learn/sharing-state-between-components
  3. React Hot Toast - https://react-hot-toast.com
  4. Axios - https://axios-http.com
  5. Axios & Error handling like a boss - https://dev.to/mperon/axios-error-handling-like-a-boss-333d
  6. Separation of Concerns in React How to Use Container and Presentational Components - https://www.freecodecamp.org/news/separation-of-concerns-react-container-and-presentational-components/
  7. Separation of concerns in React and React Native - https://dev.to/sathishskdev/separation-of-concerns-in-react-and-react-native-45b7
  8. React Bootstrap - https://react-bootstrap.netlify.app
  9. React Bootstrap Icons - https://github.com/ismamz/react-bootstrap-icons
  10. JSON Server - https://www.npmjs.com/package/json-server