eslint-plugin-rxjs-angular
Version:
ESLint rules for RxJS and Angular
12 lines (6 loc) • 445 B
Markdown
# Use container components and async pipe (`prefer-async-pipe`)
This rule effects failures if explicit calls to `subscribe` are made within a component. Instead, use a child component to which a value is passed by using the async pipe in the parent component's template.
## Options
This rule has no options.
## Further reading
- [Connecting Components with Reactive Forms](https://ncjamieson.com/connecting-components-with-reactive-forms/)