Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 581 Bytes

prefer-async-pipe.md

File metadata and controls

11 lines (6 loc) · 581 Bytes

Disallow the calling of subscribe within Angular components (rxjs-angular-x/prefer-async-pipe)

💭 This rule requires type information.

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.

Further reading