Skip to content

[Blazor] Unfortunate parameter naming #37181

@javiercn

Description

@javiercn

RegisterForJavaScript contains a parameter named "javaScriptInitializer". This is unfortunate because it conflicts with the name of a feature "JS initializers" in an area where both are applicable, and it is being the source of confusion for customers.

Customers are confused because they don't know if the "initializer" refers to a JS initializer file, or to something else.

We should consider renaming the parameter: At least give it a different name to avoid running into this situation, something like componentFunctionSetup or something like that.

You can read the details #37074

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions