Member-only story
How to start a new frontend project — Here are 5 tips
I will reveal how to make wise choices from the best options.
Starting a new project is the most exciting part of programming, there are some temptations to try something different than before.
I have been working on projects, whether old-school or hyped-new technologies.
Thus, I am glad to share with you all my steps before starting a new project.
- Package Managers
- Frameworks
- Git hooks
- Commitlints
- Lint code, safe types, and formatters
1. Choosing Package Manager
Year by year, the number of package managers becomes significantly more, therefore most programmers divide into two camps.
First, they focused on only one favorite package manager without looking around. For example, the first package manager was Node Package Manager (npm), it has become the standard of package managers for more than 15 years. Thus, the most likely usage of this npm was proven by time.
The second camp is about searching for something hyped and unseen, such as yarn, pnpm, bower, jspm, deno, volta, bun.