IP_Malafeev_KrutieLabi/lab5
2024-01-11 00:42:45 +04:00
..
public lab_5 2024-01-11 00:42:45 +04:00
src lab_5 2024-01-11 00:42:45 +04:00
.eslintrc.cjs lab_5 2024-01-11 00:42:45 +04:00
.gitignore lab_5 2024-01-11 00:42:45 +04:00
data.json lab_5 2024-01-11 00:42:45 +04:00
index.html lab_5 2024-01-11 00:42:45 +04:00
jsconfig.json lab_5 2024-01-11 00:42:45 +04:00
json-server.json lab_5 2024-01-11 00:42:45 +04:00
package-lock.json lab_5 2024-01-11 00:42:45 +04:00
package.json lab_5 2024-01-11 00:42:45 +04:00
README.md lab_5 2024-01-11 00:42:45 +04:00
test.html lab_5 2024-01-11 00:42:45 +04:00
vite.config.js lab_5 2024-01-11 00:42:45 +04:00
Лаб5 отчет.docx lab_5 2024-01-11 00:42:45 +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. Global Object - https://developer.mozilla.org/en-US/docs/Glossary/Global_object
  2. Global Scope - https://developer.mozilla.org/en-US/docs/Glossary/Global_scope
  3. localStorage - https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage
  4. JavaScript Execution Context How JS Works Behind The Scenes - https://www.freecodecamp.org/news/execution-context-how-javascript-works-behind-the-scenes/
  5. Extracting State Logic into a Reducer - https://react.dev/learn/extracting-state-logic-into-a-reducer
  6. Passing Data Deeply with Context - https://react.dev/learn/passing-data-deeply-with-context
  7. Scaling Up with Reducer and Context - https://react.dev/learn/scaling-up-with-reducer-and-context