react-cheatsheet

This repo is contains some useful opportunities for work with React.js library

View project on GitHub

React Application Structure (Структура React приложения)

[EN]

We are need to create 3 folders inside of src folder.

Such as:

  • assets (it’ll contains images, favicon and etc.)
  • components (it’ll contains source code of components (js or jsx files, styling files, and file with unit-tests maybe))
  • containers (it’ll contains containers component, such as App.js file and another files that binding with App.js)

[RU]

Нам нужно создать 3 папки внутри папки src.

Такие как:

  • assets (она будет содержать изображения, фавиконку и т.д.)
  • components (она будет содержать исходный код компонентов (js или jsx файлы, файлы со стилями и, возможно, файлы с unit-тестами))
  • containers (она будет содержать компоненты-контейнеры, такие как App.js файл и другие файлы, которые связаны с App.js)