Skip to content

ng new should not ask for zoneless (at least not the way it currently does) #30531

Open
@wartab

Description

@wartab

Command

new

Description

This might be controversial, but while I thought it was really cool that zoneless got promoted and excited it got added to the CLI, I changed my mind on the latter.

When beginners create their first project, they are being prompted immediately with
Do you want to create a 'zoneless' application without zone.js (Developer Preview)?

There's no explanation or recommendation. I bet a even good chunk of non-beginners don't know what zone.js actually is. One of my co-workers, who's worked with Angular for a while, asked me what this question was about.

I think this adds too much friction for beginners.

Describe the solution you'd like

Either do not ask the question at all (and make it default for when it's no longer in developer preview) or have the first question be "Do you want to use a sensible default configuration for your project or configure stuff yourself". The sensible default would then not ask anything else (skip SSR, zoneless, etc.)

Describe alternatives you've considered

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions