in React JS by

Most of the applications has several top-level directories as below

  1. Components Used for “dumb” React components unaware of Redux
  2. Containers Used for “smart” React components connected to Redux
  3. Actions Used for all action creators, where file name corresponds to part of the app
  4. Reducers Used for all reducers, where file name corresponds to state key
  5. Store Used for store initialization This structure works well for small and mid-level size apps.

Related questions

0 votes
asked Jun 19, 2020 in React JS by JackTerrance
0 votes
asked Jun 19, 2020 in React JS by JackTerrance
0 votes
0 votes
0 votes
asked Jul 2, 2019 in React JS by Venkatshastri
...