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" />
paket add Phork.Blazor.Reactivity --version 1.1.3
#r "nuget: Phork.Blazor.Reactivity, 1.1.3"
// Install Phork.Blazor.Reactivity as a Cake Addin #addin nuget:?package=Phork.Blazor.Reactivity&version=1.1.3 // Install Phork.Blazor.Reactivity as a Cake Tool #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
@bind
directive) bindings that can make the component re-render if anyINotifyPropertyChanged
instance in the binding path raisesPropertyChanged
event with the appropriate property name.You can make your components react to
CollectionChanged
notifications of objects implementingINotifyCollectionChanged
interface.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. |
-
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.