Skip to content

Conversation

@BreakChir
Copy link

@BreakChir BreakChir commented May 4, 2019

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

@vercel
Copy link

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

],
"dependencies": {
"@bem-react/classname": "1.5.0",
"@types/classnames": "2.2.7",

Choose a reason for hiding this comment

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

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

"@types/react-dom": "16.8.4",
"@types/react-window": "1.8.0",
"@types/recompose": "0.30.6",
"classnames": "2.2.6",

Choose a reason for hiding this comment

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

@bem-react/classnames

"classnames": "2.2.6",
"react": "16.8.6",
"react-dom": "16.8.6"
"react-cookie": "3.1.2",

Choose a reason for hiding this comment

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

"react": "16.8.6",
"react-dom": "16.8.6"
"react-cookie": "3.1.2",
"react-cookies": "0.1.0",

Choose a reason for hiding this comment

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

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

"devDependencies": {
"@hellroot/eslint-config": "1.8.0",
"@hellroot/stylelint-config": "1.1.0",
"bemify": "0.1.2",

Choose a reason for hiding this comment

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

Удали лишнее

"build": "react-scripts build",
"eject": "react-scripts eject",
"lint": "npm-run-all lint:*",
"lint:js": "eslint '**/*.{js,jsx}'",

Choose a reason for hiding this comment

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

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

"dev": "react-scripts start",
"test": "react-scripts test",
"build": "react-scripts build",
"eject": "react-scripts eject",

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 {

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';

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');

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(),

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