https://github.com/mihamarkic/blazorwithsharpreduxsample
Testing Blazor integration with SharpRedux
https://github.com/mihamarkic/blazorwithsharpreduxsample
blazor csharp webassembly
Last synced: about 1 month ago
JSON representation
Testing Blazor integration with SharpRedux
- Host: GitHub
- URL: https://github.com/mihamarkic/blazorwithsharpreduxsample
- Owner: MihaMarkic
- License: mit
- Created: 2018-03-25T17:25:19.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-20T15:44:41.000Z (about 8 years ago)
- Last Synced: 2025-10-11T01:04:24.144Z (9 months ago)
- Topics: blazor, csharp, webassembly
- Language: C#
- Size: 280 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Experimenting with Blazor and SharpRedux
## About
This project aims to integrate [sharp-redux](https://github.com/MihaMarkic/sharp-redux) with [Blazor](https://github.com/aspnet/Blazor). Also using [Righthand.Immutable](https://github.com/MihaMarkic/Righthand.Immutable) which plays nicely with sharp-redux.
Current work is very early experimentation.
Added integration with [Redux DevTools extension](https://github.com/zalmoxisus/redux-devtools-extension) using [Righthand.BlazorReduxDevToolsExtension](https://github.com/MihaMarkic/BlazorReduxDevToolsExtension). Time travel is not supported at this time.
## Run the sample
Clone or get sources, and run it as Blazor project (see [getting started instructions](https://blogs.msdn.microsoft.com/webdev/2018/03/22/get-started-building-net-web-apps-in-the-browser-with-blazor/)).
Currently there are two sample components running with redux:
* Counter - incremental counter, similar to Blazor's sample.
* FetchData - similar to Blazor's sample, except it has a "Reload" button added
Below sample DOM the redux actions are listed.