As a company we decided to share our recruitment questions for projects written in the Angular. We assume that better is to share with you what to expect in our projects. All of the following points are strictly related to our code, there are no questions that we invented.
- Difference between ChangeDetectionStrategy OnPush vs Default
- Difference between ViewEncapsulation Emulated vs None
- In the Component Lifecycle what being executed first: ngOnChanges or ngOnInit
- Give correct order of Component Lifecycle
- What is TemplateOutlet
- What $implicit means in the TemplateOutlet
- Difference between ElementRef vs TemplateRef
- Could you describe what Ngrx Effects means
- What Renderer2 means. Could you describe it a bit
- Angular forms – what parent means
- Difference between ng-template vs ng-container
- What is interceptor
- :host ::ng-deep could you describe what is it
- SharedModule – what is it
- When you build NgModule what is difference between import, export, declaration
- Sinon spy vs stub – what is the difference
- What semver means
- Do you use Docker on a frontend? What for, describe it a bit
- Do you use CI (Travis, Jenkins)? What for, describe it a bit
- Mutable vs immutable could you tell a main difference
- Dependencies vs peerDependencies vs devDependencies
- RxJS – could you describe pipe, zip, scan
- RxJS – throttle vs debounce
- Can you configure Webpack
- PWA – what is it
- Do you use PWA, what for
- What tree-shaking means
- Have you ever used JS profiler, could you describe it
- Could you describe any angularCompilerOptions you use
- Do you use any other tslint rules not included by default in the project
See also our previous blog post 30 Angular and TS tricks and tips that will improve your application.