Updated README's
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Project structure
|
||||
# Project structure 🏗
|
||||
|
||||
I've used this architecture on multiple larger projects in the past and it performed really well.
|
||||
|
||||
@@ -6,6 +6,8 @@ There are two special root folders in `src`: `App` and `shared` (described below
|
||||
|
||||
The main rule to follow: **Files from one module can only import from ancestor folders within the same module or from `src/shared`.** This makes the codebase easier to understand, and if you're fiddling with code in one module, you will never introduce a bug in another module.
|
||||
|
||||
<br>
|
||||
|
||||
| File or folder | Description |
|
||||
| ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `src/index.jsx` | The entry file. This is where we import babel polyfills and render the App into the root DOM node. |
|
||||
|
||||
Reference in New Issue
Block a user