frankframework / frankframework/angular-components

Replace in-/output properties with signals

Abierto
#33 0 comentarios 0 reacciones 1 asignado Reclamado por @Matthbo Ver en GitHub
enhancement
Lenguaje dominante
TypeScript
Estrellas
0
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

`@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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.