Performance and Edge case Related Terminology
- What is a factory Component?
- What is lazy loading and why will you use it?
- What is Ahead of time (AOT) compilation and why will you use it?
- What are some of the Angular Style Guide suggestions you follow on your code? Why?
- What is wildcard state?
- How do you put animation between two states?
- What would be a good use for NgZone service?
- How would you protect a component being activated through the router?
- How would you insert an embedded view from a prepared TemplateRef?
- What is attribute directive and why will you use it?
Master a Large App
- How will you intercept http to inject header to each http call?
- How would you create a component to display error messages throughout your application?
- How will you parallelize multiple observable call?
- How will you put one async call before another?
- How can you use web worker in angular app?
- What tools would you use to find a performance issue in your code?
- What are some ways you may improve your website's scrolling performance?
- Explain the difference between layout, painting and compositing.
- How can you cancel a router navigation?
- How would you animate routing?
- How would you cancel a promise on which you are waiting?
Rockstar and Fighter for Angular Questions
- When does a lazy loaded module is loaded?
- Why angular uses url segment?
- How will you make angular app secure?
- How will you localize numbers currencies and dates?
- What is the best way to use translation in your app?
- How will you setup different environment build differently for your app?
- How will you use scss or css preprocessing with your application?
- How will you optimize image/svg in your angular app?
- How would you make sure an api call that needs to be called only once but with multiple conditions? Example: if you need to get some data in multiple routes but, once you get it, you can reuse it in the routes that needs it, therefor no need to make another call to your backend apis.
- If you need to respond to two different Observable/Subject with one callback function, how would you do it? (ex: if you need to change the url through route parameters and with prev/next buttons).
0 comments:
Post a Comment