Angular's development team has introduced the Signal Input API, which revolutionizes coding efficiency and clarity. It allows for required input signals, optional input signals without initial values, input signals with default values, input aliasing, computed properties based on signal inputs, a transform function for input values, and side effects on input change. The API eliminates the need for ngOnChanges and offers enhanced features and flexibility. Stay tuned for its official release and check out the provided pull requests for more information.
Table of contents
Required Input SignalOptional Input Signal without Initial ValueInput with Default ValueInput AliasingComputed Properties Based on Signal InputTransform Function for Input ValueSide Effects on Input ChangeSort: