Browse Source

Update README.

pull/1/head
Oleksii Trekhleb 5 years ago
parent
commit
5840108d1a
  1. 22
      README.md

22
README.md

@ -16,12 +16,30 @@ If your repository follows the state-of-the-art shitcode principles you may use
👍🏻 Good: 👍🏻 Good:
``` ```javascript
let a = 42; let a = 42;
``` ```
👎🏻 Bad: 👎🏻 Bad:
``` ```javascript
let age = 42 let age = 42
```
### 💩 Always write comments in your local language.
You don’t want it to be readable by oversees teams.
👍🏻 Good:
```javascript
// Обновляем состояние компонента
setAge(42)
```
👎🏻 Bad:
```javascript
// Update component state
setAge(42)
``` ```
Loading…
Cancel
Save