From the course: Creating Angular Libraries
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Coding challenge - Angular Tutorial
From the course: Creating Angular Libraries
Coding challenge
“
(upbeat music) - [Instructor] Here's a challenge for you. Create a JavaScript function that calculates the average of an array of numbers of any length and export it as part of the main entry point for our custom library. This function should implement a caching mechanism of some kind to return cached data for a given input, if cached data exists. Good luck.
Contents
-
-
-
-
-
(Locked)
Common configuration tweaks2m 29s
-
(Locked)
Skipping change detection on component subtrees1m 45s
-
(Locked)
Component view encapsulation2m 41s
-
(Locked)
Isolating injectors within hierarchies4m 37s
-
(Locked)
Optimizing slow computations2m 41s
-
(Locked)
Avoiding zone pollution2m 3s
-
(Locked)
Angular without Zone.js (zoneless)46s
-
(Locked)
Make components portable with Angular Elements5m 16s
-
(Locked)
Coding challenge26s
-
(Locked)
Solution2m 6s
-
(Locked)
-
-