How to Become an Angular Pro Developer in 2022–11 Easy Steps to Follow.
1 min readOct 5, 2022
These are some of the most important things you should follow while working on the Angular apps, if you’re a Pro Developer.
- Create your new app starting with nx.
- Use strict mode and a very strict linter config (don’t forget to lint your styles too).
- Learn a state management tool.
- Write unit tests, and e2e tests.
- Script everything you have to do more than thrice.
- Services are for code that does things. HttpClient is only correct in a Service IMO.
- Never subscribe in your Service, always return the Observable.
- Components are to create new DOM and attach Service to it.
- Directives are to attach Services to existing DOM.
- Pipes are to do pure data transformations in your templates.
- Use Formly for any form more complicated than 3 fields, or just always.
If you want to know more tips and tricks like this, follow me on medium.
If you would like to buy me a coffee just click here.
Drop me a ‘Hi’ on:
WhatsApp: +94719994818
Facebook: iAbu94
Email: iabu94.dev@gmail.com