-
Notifications
You must be signed in to change notification settings - Fork 29k
Reactive ComponentRef.setInput #57849
Copy link
Copy link
Closed
Labels
area: coreIssues related to the framework runtimeIssues related to the framework runtimecore: dynamic view creationcore: inputs / outputscross-cutting: signalsfeatureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issues
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
area: coreIssues related to the framework runtimeIssues related to the framework runtimecore: dynamic view creationcore: inputs / outputscross-cutting: signalsfeatureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issues
Which @angular/* package(s) are relevant/related to the feature request?
core
Description
If I want to pass signal based data to a
ComponentRefwe have to set the input and create an effect to update the input.Proposed solution
It would be nice to streamline this by passing the signal itself.
Alternatives considered
I see there may be a problem with the auto-detection of signals in the
setInputmethod, when the input requires a signal. That's why I would suggest a config flag or separate method.