Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LayoutsComponentsBase #8

Closed
wichur opened this issue Mar 25, 2020 · 4 comments
Closed

LayoutsComponentsBase #8

wichur opened this issue Mar 25, 2020 · 4 comments

Comments

@wichur
Copy link

wichur commented Mar 25, 2020

Hi!

Great job with Fluxor!

I'm playing around with Blazor WASM 3.2.0 rev2 and found out something that might be an issue or my misunderstanding.

Problem

I've created couple of FluxorComponents. Everything works very well. But when I've placed one in MainLayout.razor its not refreshing itself after action dispatched form OnInitialized (Async too). I've moved it to Index.razor and inherited from FluxorComponent and it works again. Maybe base class for layouts could help?

Best regards
MR

@mrpmorris
Copy link
Owner

Will do. May as well change the subscription code to use delegates for speed instead of reflection.

mrpmorris added a commit that referenced this issue Mar 25, 2020
@mrpmorris
Copy link
Owner

Try pre-release 3.1.0-Pre-2 and let me know how you get on

@wichur
Copy link
Author

wichur commented Mar 26, 2020

Now everything updates nicely :)

@mrpmorris
Copy link
Owner

Thanks for letting me know!

mrpmorris added a commit that referenced this issue Apr 17, 2020
* Use Newtonsoft for serialization (Fixes #7)

* FluxorLayout (Fixes #8)

* Update subscription tests

* FluxorLayout tests

* Update release docs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants