-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
Blazor United feedback (it's good) #46292
Comments
Loved the demo and got goose bumps when say how easy it was to switch the rendring modes without losing the component based design of blazor. But would it ve possible to dynamically switch from server to wasm mode as soon as wasm binaries all download in Auto mode? |
Apologies in advance if adding to this issue is bad form, but here goes :-).... First, Blazor is amazing and the ability to make Blazor pages routable is awesome! However, as a developer that's done Razor Pages and Blazor I prefer creating templates with Razor Pages because I find them way more easy to maintain and create. And that's mostly due to tag helpers. For example, here's the form from StarRatingReviews.razor (in the demo video around 3:48)...
For the sake of argument let's say that I accept that I should rewrite everything in Razor Components, consider what happens down the road when I want to make a change to that .
Adopting Blazor and Razor Components would force me to make these kinds of changes to templates myself, and I'd also have to give up my custom model attributes. I really really really want to go all in on Blazor, but I'm concerned that doing so will make my life more difficult, so the lack of tag helper support will be a barrier to adoption for me. |
hope that hybrid mode will be included in 9 or 10. |
Agreed this is a very nice way and intuitive way to go. |
Yes, yes, please! Htmx is probably the next best thing but I like this WAY more. Very much looking forward to future development along these lines. |
However, if this disables prerendering and so makes the site not indexable, it can't be used on any site that requires SEO. Therefore, if you can make it happen without breaking SEO, please, deliver it asap 💚! If not, rather focus on other improvements. |
I think auto mode is only for page re entering. What we need is another mode, autoWithSwitch. Considering the cost for switch, wasm side data sync with server side needs a period, switch status and view options r required. I suggest auto and autoWithSwitch are 2 different modes. |
How to add RenderMode.Auto to our .net7 wasm projects? Is there an article or video? |
@mammadkoma Wait for the next .NET Preview version, maybe there's something there. |
If we use MudBlazor components and then use RenderMode.Auto, it loads first the page server side then after download the MudBlazor components and other wasm dll load and work on client side browser? We only want to increase the startup speed. |
@mammadkoma Only the future will tell, wait for the next updates. |
Thanks everyone for the feedback! To help track all of the Blazor United related work from one place we've opened #46636 with links to all the related issues that we're tracking for .NET 8. Please use this new issue and related sub issues for all Blazor United related discussions. We'll be adding more details and clarity to the sub issues in the days to come. To help consolidate the Blazor United discussions I'm going to go ahead and close this issue. |
@SteveSandersonMS tweeted his Blazor United demonstration, and he invited comment on GitHub.
My only comment is "yes please, in full".
In one stroke this demo answers a bunch of wish-list items I have for the future of how best to render my web app and to integrate it within a broader website. Achieving the results shown in the demo in that or a similar manner would be a wonderful result.
The text was updated successfully, but these errors were encountered: