Web-programming_Petrushin_E.../Lab5/Bookfill
2023-12-21 23:14:45 +04:00
..
public 5_2 2023-12-21 00:40:13 +04:00
src 5_2 2023-12-21 23:14:45 +04:00
.eslintrc.cjs 5_1 2023-12-16 16:12:15 +04:00
.gitignore 5_1 2023-12-16 16:12:15 +04:00
data.json 5_2 2023-12-21 23:14:45 +04:00
index.html 5_2 2023-12-21 00:40:13 +04:00
jsconfig.json 5_1 2023-12-16 16:12:15 +04:00
json-server.json 5_1 2023-12-16 16:12:15 +04:00
package-lock.json 5_2 2023-12-21 23:14:45 +04:00
package.json 5_2 2023-12-21 23:14:45 +04:00
README.md 5_1 2023-12-16 16:12:15 +04:00
test.html 5_1 2023-12-16 16:12:15 +04:00
vite.config.js 5_1 2023-12-16 16:12:15 +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