mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-10 12:53:03 -05:00
fixations via review
This commit is contained in:
committed by
GitHub
parent
23640dc8a3
commit
64a145d4cf
@@ -32,6 +32,6 @@ While the application works, the developer experience is far from being optimal.
|
|||||||
## Constraints
|
## Constraints
|
||||||
|
|
||||||
- You <b>must</b> refactor the `CardComponent` and `ListItemComponent`.
|
- You <b>must</b> refactor the `CardComponent` and `ListItemComponent`.
|
||||||
- The `NgFor` directive must be declared and remain inside the `CardComponent`. You might be tempted to move it to the `ListItemComponent` but avoid doing so.
|
- The `NgFor` directive must be declared and remain inside the `CardComponent`. You might be tempted to move it to the `ParentCardComponent` like `TeacherCardComponent`.
|
||||||
- `CardComponent` should not contain any `NgIf` or `NgSwitch`.
|
- `CardComponent` should not contain any `NgIf` or `NgSwitch`.
|
||||||
- CSS: try to avoid using `::ng-deep`. Find a better way to handle CSS styling.
|
- CSS: try to avoid using `::ng-deep`. Find a better way to handle CSS styling.
|
||||||
|
|||||||
Reference in New Issue
Block a user