frankframework / frankframework/angular-components
Replace in-/output properties with signals
未关闭
enhancement
- 主要语言
- TypeScript
- 星标
- 0
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
描述
`@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
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。