-
Notifications
You must be signed in to change notification settings - Fork 147
Open
Description
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
Labels
No labels