Skip to content
Discussion options

You must be logged in to vote

Good morning and thanks for checking out, BlazorState.

The BlazorStateComponent is NOT required but supplied as convenient method of pulling in BlazorState functionality.

You can implement IBlazorStateComponent yourself in your own component/base component that inherits from one of the ReactiveUI bases classes like
public class MyComponent : ReactiveComponentBase ,
IBlazorStateComponent
{
[Inject] public IMediator Mediator { get; set; }
[Inject] public IStore Store { get; set; }
public void ReRender() => StateHasChanged();
}

The source code can show ideas of what you may want in your base class.

Api Docs may be helpful.

If you have any issues join our discord channel, an invite is in the …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by TorreyGarland
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants