-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Labels
DoneThis issue has been fixedThis issue has been fixedaffected-mostThis issue impacts most of the customersThis issue impacts most of the customersarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing onefeature-blazor-jsinteropThis issue is related to JSInterop in BlazorThis issue is related to JSInterop in Blazorseverity-minorThis label is used by an internal toolThis label is used by an internal tool
Milestone
Description
Hi,
When the work on JS isolation was first announced, I was expecting something similar to CSS isolation where I would be able to create ComponentXYZ.razor.js
file. Apparently other developers are in favor of this idea as well:
I'd like to take this approach further as suggested in a separate ticket:
https://github.com/dotnet/aspnetcore/issues/24943
I really believe there is a great benefit in organizing a large project this way, it's a lot more convenient to find JS/CSS files related to a component rather than chasing them down in a separate folder. This is exactly how we organize our large WebForms projects as well, so I'm speaking from experience.
Thank you for your consideration!
Joren-Thijs, RyoukoKonpaku, lonix1, Amine-Smahi, xiety and 79 moreAmine-Smahi, AmarjeetBanwait, HugoLingiardi, GeorgeS2019, borislavnnikolov and 10 moretzengshinfu, HugoLingiardi, GeorgeS2019, kattunga, borislavnnikolov and 6 more
Metadata
Metadata
Assignees
Labels
DoneThis issue has been fixedThis issue has been fixedaffected-mostThis issue impacts most of the customersThis issue impacts most of the customersarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing onefeature-blazor-jsinteropThis issue is related to JSInterop in BlazorThis issue is related to JSInterop in Blazorseverity-minorThis label is used by an internal toolThis label is used by an internal tool