docs: typo cleanup

This commit is contained in:
Vyacheslav Matyukhin 2022-04-10 17:27:39 +03:00
parent 115bd30708
commit 8d6cf48b41
No known key found for this signature in database
GPG Key ID: 3D2A774C5489F96C

View File

@ -13,7 +13,6 @@
# React # React
- create one file per one component (tiny helper components in the same file are fine) - create one file per one component (tiny helper components in the same file are fine)
- if
- name file identically to the component it describes (e.g. `const DisplayForecasts: React.FC<Props> = ...` in `DisplayForecasts.ts`) - name file identically to the component it describes (e.g. `const DisplayForecasts: React.FC<Props> = ...` in `DisplayForecasts.ts`)
- use named export instead of default export for all React components - use named export instead of default export for all React components
- it's better for refactoring - it's better for refactoring