- Создать компонент, внутри которого можно размещать другие компоненты
- В этом компоненте добавить условный рендер
- Добавить компонент, который будет рендерить несколько элементов в цикле
- Разобрать варианты работы со стилями в vite-react
- Глобальные стили
- .module.css
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - name: Install ghostty from deb release | |
| vars: | |
| gtty_repo: "github.com/mkasberg/ghostty-ubuntu" | |
| gtty_version: "1.0.1-0" | |
| gtty_arch: "amd64" | |
| gtty_ubuntu_version: "22.04" | |
| apt: | |
| deb: "https://{{gtty_repo}}/releases/download/{{gtty_version}}-ppa1/ghostty_{{gtty_version}}.ppa1_{{gtty_arch}}_{{gtty_ubuntu_version}}.deb" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title></title> | |
| <style> | |
| p { font-size: 24px; } | |
| </style> | |
| </head> | |
| <body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title></title> | |
| </head> | |
| <body> | |
| <form action=""> | |
| <input type="text" name="token"> | |
| <button>Connect</button> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const reset = (r) => {r.setVal(0)} | |
| function reset(r) {r.setVal(0)} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| isQuestionEditingDisabled(state) { | |
| const isEditable = editableQuestionStates.includes( | |
| state.wrapper.status | |
| ); | |
| return !isEditable; | |
| } |
- index.js:73 Не вызван handler
- index.js:105 Не вызван handler
- index.js:90
Нужно добавить вызов handler, чтобы исправленный тест отрабатывал.
Та же история с
CheckboxInput#subscribe