Register to Better Coder! It's free.
Enjoy the premium features and succeed at every job interview.
Angular Best Practices
Make following best practices mandatory
Use services for data retrieval
Make services as injectable
All public methods should be before private methods
Delegate complex logic to services
Comments must be readable and maintained
Explain in code, not in comments
Replace magic strings with constants
Write self-describing code
Organize for readability
Use LIFT principle
Use Sass variables
Shorten your relative paths
Use Core module and import it to AppModule
Use a Shared module and do not import it to AppModule
Use specific types instead of 'any'
Use State management
Utilize ES6 Features
Use Index.ts to simplify imports
Prevent memory leaks in Angular Observable
- Become a Best practice hero.Help us to grow the catalogue of best practices.
Recently added best practices
Anonymous
hello
hello
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e