Fluxor
BlazorWithFluxor
Our great sponsors
Fluxor | BlazorWithFluxor | |
---|---|---|
18 | 3 | |
1,173 | 23 | |
- | - | |
8.0 | 0.0 | |
6 days ago | almost 3 years ago | |
C# | C# | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Fluxor
-
Modeling collections in UI?
Take a look at Fluxor! Might be a little bit of a learning curve at first, but you will see how much it reduces the headache in these cases.
- Multiple loading states
-
help: replacing a component dynamically
Ive been using fluxor in my blazor projects. I love it. https://github.com/mrpmorris/Fluxor
-
How are you doing reactivity?
Check out https://github.com/mrpmorris/Fluxor which is an implementation of the react pattern for blazor, similar to redux. If you are used to the concepts of actions and reducers it should be pretty easy for you to get going.
- Simpler alternative to Fluxor
-
Anyone also using MVVM for their Blazor apps?
There's a ViewModelComponent where T : IViewModel This ViewModel has to be a state object, meaning part of Fluxor.
-
Blazor WASM state management
Look into using some nuget like Blazor-State or Fluxor to achieve this?
-
Re-render child component
You will probably need to implement a shared state that both components can utilize as their model. This is the type of scenario that Fluxor is designed for. (Not a recommendation, just a reference)
-
Trackor - a Blazor WebAssembly PWA using EFCore and SQLite in the browser
Application state using the Flux pattern with the Fluxor library
-
Sending Large amount of data (json) over a bad connection
Another thing you might like based on your username, lol - I'm using Fluxor in one of my projects and it's pretty good. You'd still foreach loop though your list of items, but create an async "fetch data" request for all your items waiting in a queue to be processed. And you can just add observers when parts of your data are loaded. Makes it pretty easy to fetch batches of data
BlazorWithFluxor
-
Advanced Blazor State Management Using Fluxor, part 6 - Persisting State
Note: For demonstration purposes I have hooked in the Blazored.Toast component to pop up a Toast message whenever the CounterState is saved or retrieved, as demonstrated in the previous post in this series. For brevity's sake I'm not including that code in this post, but you can find it all in the project's repository on github.
-
Advanced Blazor State Management Using Fluxor, part 3
After all of these steps, the solution should look like this branch of the demo repository.
-
Advanced Blazor State Management Using Fluxor, part 2
Before we begin: The code for this blog series can be found on github as shown below. To check your progress for this step of the series, view the 002_Add_Fluxor_Libraries branch.
What are some alternatives?
blazor-state - A Blazor State management library by TimeWarp.
redux-devtools-extension - Redux DevTools extension.
redux - A JS library for predictable global state management
LocalStorage - A library to provide access to local storage in Blazor applications
Visual Studio Code - Visual Studio Code
ASP.NET Core - ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
fluxor-persist - Fluxor-persist is a library to persist Fluxor states.
Toast - A JavaScript free toast library for Blazor and Razor Component applications
blazor-fluxor
blazor-hooked - A minimal boiler-plate, state management framework for Blazor that resembles React Hooks.
flux - Application Architecture for Building User Interfaces