Blazor: Attached properties (behaviors) #20715
Labels
area-blazor
Includes: Blazor, Razor Components
enhancement
This issue represents an ask for new feature or an enhancement to an existing one
A feature request: Attached properties like in WPF framework - for cross cutting functionality among components (logic reuse). Or something like Knockout bindings or AngularJS attribute directives.
For instance, logic reuse among components in React can be a nightmare, there are some standard workarounds using higher order components, render props etc. but none of them is elegant and maintainable, in the end the components are nested endlessly. There are also hooks but these are certainly neither maintainable nor easy to understand. Attached properties would solve this problem perfectly.
The text was updated successfully, but these errors were encountered: