Skip to content

Files

Latest commit

 

History

History
13 lines (8 loc) · 478 Bytes

no-inputs-metadata-property.md

File metadata and controls

13 lines (8 loc) · 478 Bytes

Pattern: Use of inputs metadata property

Issue: -

Description

  • It is easier and more readable to identify which properties in a class are inputs.
  • If you ever need to rename the property associated with @Input, you can modify it in a single place.
  • The metadata declaration attached to the directive is shorter and thus more readable.

Further Reading