Skip to content

Router Proposal: adopt convention for route alias #4083

@btford

Description

@btford

I propose that we adopt an enforced convention of naming convention were route names are TitleCase: MyRoute rather than camelCase myRoute.

I think it helps distinguish between URLs and the DSL. Consider:

@RouteConfig([
  { path: '/foo', component: FooCmp, as: 'MyRoute' }
])
class MyCmp

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions