Phork.Blazor.Reactivity
1.1.3
dotnet add package Phork.Blazor.Reactivity --version 1.1.3
NuGet\Install-Package Phork.Blazor.Reactivity -Version 1.1.3
<PackageReference Include="Phork.Blazor.Reactivity" Version="1.1.3" />
<PackageVersion Include="Phork.Blazor.Reactivity" Version="1.1.3" />
<PackageReference Include="Phork.Blazor.Reactivity" />
paket add Phork.Blazor.Reactivity --version 1.1.3
#r "nuget: Phork.Blazor.Reactivity, 1.1.3"
#:package Phork.Blazor.Reactivity@1.1.3
#addin nuget:?package=Phork.Blazor.Reactivity&version=1.1.3
#tool nuget:?package=Phork.Blazor.Reactivity&version=1.1.3
Phork.Blazor.Reactivity
Phork.Blazor.Reactivity is an unopinionated Blazor state management library that utilizes INotifyPropertyChanged and INotifyCollectionChanged .NET interfaces to automatically detect state changes in components.
Advantages of the library:
You can use reactive one-way and two-way (in combination with the
@binddirective) bindings that can make the component re-render if anyINotifyPropertyChangedinstance in the binding path raisesPropertyChangedevent with the appropriate property name.You can make your components react to
CollectionChangednotifications of objects implementingINotifyCollectionChangedinterface.You can optionally use converters with two-way bindings if the binding source and target have different types and/or additional logic is required in your bindings.
You don't need to worry about memory leaks and unnecessary re-renders as the library will take care of unsubscribing the events as soon as they get out of the render-tree.
The library is unopinionated:
- Usage of no MVx pattern is assumed, although it can greatly simplify implementing MVVM.
- Even though the library provides a base class for reactive components, components not inheriting from the provided base class can still take advantage of the reactivity system.
Docs: https://github.com/phorks/phork-blazor-reactivity/blob/main/README.md
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net6.0
- Microsoft.AspNetCore.Components (>= 6.0.33)
-
net7.0
- Microsoft.AspNetCore.Components (>= 7.0.20)
-
net8.0
- Microsoft.AspNetCore.Components (>= 8.0.8)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.