frankframework / frankframework/angular-components
Replace in-/output properties with signals
- Lingua principale
- TypeScript
- Stelle
- 0
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
`@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
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.