You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With trait-generic providers like UseDelegate, it is common to have nested delegation of components. However, the current design of delegate_components! require the nested components to be defined with separate struct definitions and delegation.
New Syntax
The new delegate_components! macro would support nested delegation with the following syntax:
Summary
With trait-generic providers like
UseDelegate
, it is common to have nested delegation of components. However, the current design ofdelegate_components!
require the nested components to be defined with separate struct definitions and delegation.New Syntax
The new
delegate_components!
macro would support nested delegation with the following syntax:Which would roughly expanded into the current syntax:
The text was updated successfully, but these errors were encountered: