Skip to content

[Client Step 1.11] #92

@jacksonbenete

Description

@jacksonbenete

By using yarn add moment, yarn will/might automatically change tsconfig.json to "correct" the item:
=> "jsx": "react"
into
=> "jsx": "react-jsx"
which in turn will cause React error:
error TS6046: Argument for '--jsx' option must be: 'preserve'
that will prevent the app to start and might let beginners confused.

I didn't installed prettier in Section 1.3, maybe it will cause the same problem.

Should be the case to warn/remember the users to change tsconfig.json everytime a yarn add command be performed.
Someone used to development should rapidly catch and correct it, but if the tutorial is also aimed to beginners it would be better to warn about those little things.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions