Skip to content

Split blazor.web.js into dynamically-loadable bundles #48771

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

Closed
SteveSandersonMS opened this issue Jun 13, 2023 · 4 comments
Closed

Split blazor.web.js into dynamically-loadable bundles #48771

SteveSandersonMS opened this issue Jun 13, 2023 · 4 comments
Labels
area-blazor Includes: Blazor, Razor Components enhancement This issue represents an ask for new feature or an enhancement to an existing one feature-full-stack-web-ui Full stack web UI with Blazor ✔️ Resolution: Duplicate Resolved as a duplicate of another issue Pillar: Complete Blazor Web Status: Resolved

Comments

@SteveSandersonMS
Copy link
Member

Ideally, people using SSR only (with progressive enhancement etc) would get a very small blazor.web.js that doesn't include any of the SignalR parts or any of the .NET WebAssembly runtime JS support library.

Then, if an interactive component was used, we'd use an ES module dependency to dynamically load the JS library needed for it. We could potentially split the "server" and "webassembly" bundles though they would have a lot in common. It might suffice just to split out the "interactive" parts from the "static" ones.

@ghost ghost added the area-blazor Includes: Blazor, Razor Components label Jun 13, 2023
@SteveSandersonMS SteveSandersonMS added the feature-full-stack-web-ui Full stack web UI with Blazor label Jun 13, 2023
@mkArtakMSFT mkArtakMSFT added the enhancement This issue represents an ask for new feature or an enhancement to an existing one label Jun 13, 2023
@mkArtakMSFT mkArtakMSFT added this to the .NET 8 Planning milestone Jun 13, 2023
@ghost
Copy link

ghost commented Jun 13, 2023

Thanks for contacting us.

We're moving this issue to the .NET 8 Planning milestone for future evaluation / consideration. We would like to keep this around to collect more feedback, which can help us with prioritizing this work. We will re-evaluate this issue, during our next planning meeting(s).
If we later determine, that the issue has no community involvement, or it's very rare and low-impact issue, we will close it - so that the team can focus on more important and high impact issues.
To learn more about what to expect next and how this issue will be handled you can read more about our triage process here.

@ghost
Copy link

ghost commented Oct 4, 2023

Thanks for contacting us.

We're moving this issue to the .NET 9 Planning milestone for future evaluation / consideration. We would like to keep this around to collect more feedback, which can help us with prioritizing this work. We will re-evaluate this issue, during our next planning meeting(s).
If we later determine, that the issue has no community involvement, or it's very rare and low-impact issue, we will close it - so that the team can focus on more important and high impact issues.
To learn more about what to expect next and how this issue will be handled you can read more about our triage process here.

@ghost
Copy link

ghost commented Dec 20, 2023

Thanks for contacting us.

We're moving this issue to the .NET 9 Planning milestone for future evaluation / consideration. We would like to keep this around to collect more feedback, which can help us with prioritizing this work. We will re-evaluate this issue, during our next planning meeting(s).
If we later determine, that the issue has no community involvement, or it's very rare and low-impact issue, we will close it - so that the team can focus on more important and high impact issues.
To learn more about what to expect next and how this issue will be handled you can read more about our triage process here.

@mkArtakMSFT
Copy link
Contributor

Close as a dupe of #52819

@mkArtakMSFT mkArtakMSFT closed this as not planned Won't fix, can't repro, duplicate, stale Dec 20, 2023
@mkArtakMSFT mkArtakMSFT added the ✔️ Resolution: Duplicate Resolved as a duplicate of another issue label Dec 20, 2023
@ghost ghost added the Status: Resolved label Dec 20, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Feb 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-blazor Includes: Blazor, Razor Components enhancement This issue represents an ask for new feature or an enhancement to an existing one feature-full-stack-web-ui Full stack web UI with Blazor ✔️ Resolution: Duplicate Resolved as a duplicate of another issue Pillar: Complete Blazor Web Status: Resolved
Projects
None yet
Development

No branches or pull requests

4 participants