mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-10 21:03:03 -05:00
Simple Pure pipe
Author: Thomas Laforge
The goal of this serie of 3 pipe challenges is to master PIPES in Angular.
Pure pipe are a very useful way to transform data from your template. The difference between calling a function and a pipe is that pure pire are memoized. So they won't be recalculated every change detection cycle if the inputs hasn't changed.
Information:
In this first exercice, you add calling a simple function inside your template. The goal is to convert it to a pipe.
Constraints:
- must be strongly typed
Submitting your work
- Fork the project
- clone it
- npm install
npx nx serve pipe-easy- ...work on it
- Commit your work
- Submit a PR with a title beginning with Answer:8 that I will review and other dev can review.