Today I Learned

TIL, 2021-11-04

Angular Basics: The Scope of This and Arrow Functions



Resolving common technical debt to speed up Angular development


  • TestingCommonModule - was mocking all possible dependencies and injecting them into the test.
  • ng-bullet.
  • Log tests by execution time - karma-spec-reporter - figure out if we can do with Jest?
  • npm cache speed.
  • Streamline wrapping components - to get rid of a UI library, need to wrap it first and update the usage of the component.
  • Git hooks:
    • husky - ran formatting, linting checks, pre-push hook.
    • prettier - check code against formatting rules, fixed issues with few npm commands.
    • Stylelint and codelyzer.


This project is maintained by daryllxd