frankframework / frankframework/angular-components

Replace in-/output properties with signals

Ouverte
#33 0 commentaires 0 réactions 1 personne assignée Réclamée par @Matthbo Voir sur GitHub
enhancement
Langage dominant
TypeScript
Étoiles
0
Forks
0
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

`@Input() ...` and `@Output() ...` should be replaced with the new signals system.
E.g.
```ts
// @Input({ ... }) active = ...;
public active = input<...>(...);

// @Output() activeChange = new EventEmitter<...>();
public activeChange = output<...>();
```

This means parents do need to handle input and output fully.
To follow the example above, activeChange will output a change in state and the parent has to update the active input to reflect the state change or else to component simply wont update. This also means the state is fully managed by the parent instead of having any state internally

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.