Skip to content

Regarding function naming #65537

@dzdzdzd123

Description

@dzdzdzd123

Regarding the naming of callback functions, will camelCase be adopted in the future? It looks strange now. For example, changing 'onreconnecting' to 'onReconnecting' and 'onreconnected' to 'onReconnected' and 'onclose' to 'onClose', my cspell plugin also prompts me:

https://github.com/dotnet/aspnetcore/blob/eec80e1c63963802a215d58b3907d6e46090fc28/src/SignalR/clients/ts/signalr/src/HubConnection.ts#L570onclose

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    api-suggestionEarly API idea and discussion, it is NOT ready for implementationneeds-area-labelUsed by the dotnet-issue-labeler to label those issues which couldn't be triaged automatically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions