Skip to content

Балашов Ярослав, М3335#5

Open
BreakChir wants to merge 4 commits intoitmo2019:masterfrom
BreakChir:master
Open

Балашов Ярослав, М3335#5
BreakChir wants to merge 4 commits intoitmo2019:masterfrom
BreakChir:master

Conversation

@BreakChir
Copy link
Copy Markdown

@BreakChir BreakChir commented May 4, 2019

Выбрал 2.1 и 3.1
Поиск в процессе совершенствования
Работает кодовое слово "темная тема"

@vercel
Copy link
Copy Markdown

vercel Bot commented May 4, 2019

This pull request is automatically deployed with Now.
To access deployments, click Details below or on the icon next to each push.

Latest deployment for this branch: https://task-5-git-fork-breakchir-master.itmo-yandex.now.sh

Comment thread package.json
],
"dependencies": {
"@bem-react/classname": "1.5.0",
"@types/classnames": "2.2.7",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@types должны быть в `devDependencies

Comment thread package.json
"@types/react-dom": "16.8.4",
"@types/react-window": "1.8.0",
"@types/recompose": "0.30.6",
"classnames": "2.2.6",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bem-react/classnames

Comment thread package.json
"classnames": "2.2.6",
"react": "16.8.6",
"react-dom": "16.8.6"
"react-cookie": "3.1.2",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread package.json
"react": "16.8.6",
"react-dom": "16.8.6"
"react-cookie": "3.1.2",
"react-cookies": "0.1.0",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Удали лишние зависимости

Comment thread package.json
"devDependencies": {
"@hellroot/eslint-config": "1.8.0",
"@hellroot/stylelint-config": "1.1.0",
"bemify": "0.1.2",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Удали лишнее

Comment thread package.json
"build": "react-scripts build",
"eject": "react-scripts eject",
"lint": "npm-run-all lint:*",
"lint:js": "eslint '**/*.{js,jsx}'",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

eslint "**/*.{js,jsx}"

Comment thread package.json
"dev": "react-scripts start",
"test": "react-scripts test",
"build": "react-scripts build",
"eject": "react-scripts eject",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

YAGNI

cursor: pointer;
}

.box:after {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Псевдоклассы пишутся с ::

@@ -0,0 +1,29 @@
import React from 'react';
import pure from 'recompose/pure';
import cx from 'classnames';
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Обычно сокращают до cn

};

render() {
console.log('MailApp');
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

console.log надо удалять перед пушем

constructor(props: {}) {
super(props);
this.state = {
theme: this.initTheme(),
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Вместо глубокого прокидывания пропсов лучше воспользуйся
https://reactjs.org/docs/context.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants