Skip to content

Commit 0278f34

Browse files
committed
docs(challenge-1): add extra section for bonus challenges
1 parent 89d9bf8 commit 0278f34

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

docs/src/content/docs/challenges/angular/1-projection.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,9 @@ While the application works, the developer experience is far from being optimal.
3535
- The `NgFor` directive must be declared and remain inside the `CardComponent`. You might be tempted to move it to the `ParentCardComponent` like `TeacherCardComponent`.
3636
- `CardComponent` should not contain any `NgIf` or `NgSwitch`.
3737
- CSS: try to avoid using `::ng-deep`. Find a better way to handle CSS styling.
38+
39+
## Bonus Challenges
40+
41+
- Try to work with the new built-in control flow syntax for loops and conditionals (documentation [here](https://angular.dev/guide/templates/control-flow))
42+
- Use the signal API to manage your components state (documentation [here](https://angular.dev/guide/signals))
43+
- To reference the template, use a directive instead of magic strings

docs/src/content/docs/pt-br/challenges/angular/1-projection.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,9 @@ Apesar da aplicação funcionar, a experiência do desenvolvedor (DX) está nem
3535
- A diretiva `NgFor` deve ser declarada e permanecer dentro do `CardComponent`. Você pode ficar instigado em querer mover ela para o `ParentCardComponent` como `TeacherCardComponent`.
3636
- `CardComponent` não deve conter nenhum `NgIf` ou `NgSwitch`.
3737
- CSS: tente evitar usar `::ng-deep`. Ache uma maneira melhor para lidar com o CSS.
38+
39+
## Desafios Bônus
40+
41+
- Tente trabalhar com a nova sintaxe nativa de controle de fluxo para laços e condicionais (documentação [aqui](https://angular.dev/guide/templates/control-flow))
42+
- Usa a signal API para gerenciar o estado de seus componentes (documentação [aqui](https://angular.dev/guide/signals))
43+
- Para referenciar o template, use uma diretiva ao invés de strings mágicas

0 commit comments

Comments
 (0)