- What is standalone API?
- What standalone APIs do you know? (Standalone components/pipes/directives, Router standalone API, HttpClient standalone API, etc.)
- What are benefits of using them? (less boilerplate, no dependency on modules - module-less, smaller bundle size, concise code, possibility of dropping ZoneJS, etc.)
- Explain the main building blocks of an Angular application and their data flow
- components
- directives
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Symbols are used in order to not confuse these special values with the real request response values | |
| // Unique primitive value used as the stale request response value | |
| const staleRequestSymbol = Symbol('staleRequest'); | |
| // Unique primitive value used as a response value of non-distinct payload requests | |
| const nonDistinctPayloadSymbol = Symbol('nonDistinctPayload'); | |
| // Map are used to guarantee the integrity of request specific context if a single request | |
| // is re-created more than once in a process | |
| const requestsCache = new Map(); | |
| const requestsContext = new Map(); | |
| // Enum |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Show custom scrollbar on devices with a large display (laptops, desktops, etc.) | |
| as smaller devices usually have a neat scrollbar already */ | |
| @media (min-width: 992px) { | |
| /* Firefox */ | |
| @supports (scrollbar-width: thin) { | |
| * { | |
| /* First collor is responsible for the thumb color, the second one - for the track color */ | |
| scrollbar-color: #b9b9b9 #f0f0f0; | |
| scrollbar-width: thin; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Technical: | |
| 1. OOP principles | |
| 2. Differences between abstract class and interface | |
| 2. Software Development Principles (SOLID, DRY, KISS, YAGNI, etc.) | |
| 3. Event loop, micro and macro tasks, queueMicrotask(). Difference between queueMicrotask() and Promise.resolve() | |
| 4. What is call stack. How it works ? | |
| 5. Data structures (hashmap, linked list, etc.) | |
| 6. Architectural and design patterns in JS | |
| 7. Diferences between local storage, session storageand document cookie. When to use each ? | |
| 8. What is Flux (architectural pattern) ? Describe it's core concepts |