Skip to content

Commit 90bf815

Browse files
author
x
committed
Add Fluxor .NET
1 parent 7a48268 commit 90bf815

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

extension/docs/Integrations.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Mostly functional:
1212
- [PureScript](#purescript)
1313
- [Reductive](#reductive)
1414
- [Aurelia](#aurelia)
15+
- [Fluxor](#fluxor) (.NET)
1516

1617
In progress:
1718

@@ -300,3 +301,27 @@ export function configure(aurelia: Aurelia) {
300301
aurelia.start().then(() => aurelia.setRoot());
301302
}
302303
```
304+
305+
### [Fluxor](https://github.com/mrpmorris/fluxor) (.NET)
306+
307+
#### [Fluxor.Blazor.Web.ReduxDevTools](https://github.com/mrpmorris/Fluxor/tree/master/Source/Lib/Fluxor.Blazor.Web.ReduxDevTools)
308+
1. Add the `Fluxor.Blazor.Web.ReduxDevTools` nuget package to your project.
309+
2. (Optional) Make it conditional on `DEBUG` mode.
310+
311+
```
312+
<ItemGroup Condition="$(Configuration)=='Debug'">
313+
<PackageReference Include="Fluxor.Blazor.Web.ReduxDevTools" Version="...." />
314+
</ItemGroup>
315+
```
316+
317+
3. Use the `UseReduxDevTools` extension on the Fluxor options.
318+
319+
```c#
320+
services.AddFluxor(o =>
321+
{
322+
o.ScanAssemblies(typeof(SomeType).Assembly);
323+
#if DEBUG
324+
o.UseReduxDevTools();
325+
#endif
326+
});
327+
```

0 commit comments

Comments
 (0)