Modern Front-End Architecture
Modern Front-End Architecture
Cover image
Download the files as a zip using the green button, or clone the repository to your
machine using Git.
Releases
Release v1.0 corresponds to the code in the published book, without corrections or
updates.
Contributions
See the file Contributing.md for more information on how you can contribute to this
repository.
Available Scripts
In the project directory, you can run:
yarn start
1 af 12 26/04/2025, 00.06
README file:///Users/sayit/Dropbox/Mac%20(2)/Desktop/books/modern-front...
yarn test
yarn build
yarn eject
Note: this is a one-way operation. Once you eject, you can’t go back!
If you aren’t satisfied with the build tool and configuration choices, you can eject at any
time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack,
Babel, ESLint, etc) right into your project so you have full control over them. All of the
commands except eject will still work, but they will point to the copied scripts so you
can tweak them. At this point you’re on your own.
You don’t have to ever use eject. The curated feature set is suitable for small and middle
deployments, and you shouldn’t feel obligated to use this feature. However we
understand that this tool wouldn’t be useful if you couldn’t customize it when you are
ready for it.
Learn More
You can learn more in the Create React App documentation.
Code Splitting
2 af 12 26/04/2025, 00.06
README file:///Users/sayit/Dropbox/Mac%20(2)/Desktop/books/modern-front...
Advanced Configuration
Deployment
Available Scripts
In the project directory, you can run:
yarn start
yarn test
yarn build
3 af 12 26/04/2025, 00.06
README file:///Users/sayit/Dropbox/Mac%20(2)/Desktop/books/modern-front...
yarn eject
Note: this is a one-way operation. Once you eject, you can’t go back!
If you aren’t satisfied with the build tool and configuration choices, you can eject at any
time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack,
Babel, ESLint, etc) right into your project so you have full control over them. All of the
commands except eject will still work, but they will point to the copied scripts so you
can tweak them. At this point you’re on your own.
You don’t have to ever use eject. The curated feature set is suitable for small and middle
deployments, and you shouldn’t feel obligated to use this feature. However we
understand that this tool wouldn’t be useful if you couldn’t customize it when you are
ready for it.
Learn More
You can learn more in the Create React App documentation.
Code Splitting
Advanced Configuration
Deployment
4 af 12 26/04/2025, 00.06
README file:///Users/sayit/Dropbox/Mac%20(2)/Desktop/books/modern-front...
deployment
Available Scripts
In the project directory, you can run:
yarn start
yarn test
yarn build
yarn eject
Note: this is a one-way operation. Once you eject, you can’t go back!
If you aren’t satisfied with the build tool and configuration choices, you can eject at any
time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack,
Babel, ESLint, etc) right into your project so you have full control over them. All of the
commands except eject will still work, but they will point to the copied scripts so you
can tweak them. At this point you’re on your own.
You don’t have to ever use eject. The curated feature set is suitable for small and middle
deployments, and you shouldn’t feel obligated to use this feature. However we
5 af 12 26/04/2025, 00.06
README file:///Users/sayit/Dropbox/Mac%20(2)/Desktop/books/modern-front...
understand that this tool wouldn’t be useful if you couldn’t customize it when you are
ready for it.
Learn More
You can learn more in the Create React App documentation.
Code Splitting
Advanced Configuration
Deployment
Available Scripts
In the project directory, you can run:
yarn start
6 af 12 26/04/2025, 00.06
README file:///Users/sayit/Dropbox/Mac%20(2)/Desktop/books/modern-front...
yarn test
yarn build
yarn eject
Note: this is a one-way operation. Once you eject, you can’t go back!
If you aren’t satisfied with the build tool and configuration choices, you can eject at any
time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack,
Babel, ESLint, etc) right into your project so you have full control over them. All of the
commands except eject will still work, but they will point to the copied scripts so you
can tweak them. At this point you’re on your own.
You don’t have to ever use eject. The curated feature set is suitable for small and middle
deployments, and you shouldn’t feel obligated to use this feature. However we
understand that this tool wouldn’t be useful if you couldn’t customize it when you are
ready for it.
Learn More
You can learn more in the Create React App documentation.
Code Splitting
7 af 12 26/04/2025, 00.06
README file:///Users/sayit/Dropbox/Mac%20(2)/Desktop/books/modern-front...
Advanced Configuration
Deployment
Available Scripts
In the project directory, you can run:
yarn start
yarn test
yarn build
8 af 12 26/04/2025, 00.06
README file:///Users/sayit/Dropbox/Mac%20(2)/Desktop/books/modern-front...
yarn eject
Note: this is a one-way operation. Once you eject, you can’t go back!
If you aren’t satisfied with the build tool and configuration choices, you can eject at any
time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack,
Babel, ESLint, etc) right into your project so you have full control over them. All of the
commands except eject will still work, but they will point to the copied scripts so you
can tweak them. At this point you’re on your own.
You don’t have to ever use eject. The curated feature set is suitable for small and middle
deployments, and you shouldn’t feel obligated to use this feature. However we
understand that this tool wouldn’t be useful if you couldn’t customize it when you are
ready for it.
Learn More
You can learn more in the Create React App documentation.
Code Splitting
Advanced Configuration
Deployment
9 af 12 26/04/2025, 00.06
README file:///Users/sayit/Dropbox/Mac%20(2)/Desktop/books/modern-front...
deployment
Available Scripts
In the project directory, you can run:
yarn start
yarn test
yarn build
yarn eject
Note: this is a one-way operation. Once you eject, you can’t go back!
If you aren’t satisfied with the build tool and configuration choices, you can eject at any
time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack,
Babel, ESLint, etc) right into your project so you have full control over them. All of the
commands except eject will still work, but they will point to the copied scripts so you
can tweak them. At this point you’re on your own.
You don’t have to ever use eject. The curated feature set is suitable for small and middle
deployments, and you shouldn’t feel obligated to use this feature. However we
10 af 12 26/04/2025, 00.06
README file:///Users/sayit/Dropbox/Mac%20(2)/Desktop/books/modern-front...
understand that this tool wouldn’t be useful if you couldn’t customize it when you are
ready for it.
Learn More
You can learn more in the Create React App documentation.
Code Splitting
Advanced Configuration
Deployment
How to Contribute
11 af 12 26/04/2025, 00.06
README file:///Users/sayit/Dropbox/Mac%20(2)/Desktop/books/modern-front...
12 af 12 26/04/2025, 00.06