vscode-docs icon indicating copy to clipboard operation
vscode-docs copied to clipboard

Documentation: React tutorial & How to create a TS create-react-app

Open HerrB92 opened this issue 5 years ago • 1 comments

Issue Type: Bug

Hi! It would be nice, if the documentation may get updated to help other beginners to start with VS Code, TS & React:

  • The following VS Code React tutorial explains at the very end, how to start with a TS create-react-app (instead of a JS one): https://code.visualstudio.com/docs/nodejs/reactjs-tutorial
  • The link there gets you to the archived/deprecated Typescript-React-Starter project: https://github.com/microsoft/TypeScript-React-Starter
  • The archived project explains, that it is not needed anymore and that you can use npx create-react-app my-app --typescript to get a TS starter app.

Unfortunately, it should be npx create-react-app my-app --template typescript as described here: https://create-react-app.dev/docs/getting-started#creating-a-typescript-app

Maybe someone could adjust the (archived) project readme.md (and maybe someone else would like to refresh the VS Code React tutorial as well ;-)).

That's all & and Happy New Year!

HerrB92

VS Code version: Code 1.52.1 (ea3859d4ba2f3e577a159bc91e3074c5d85c0523, 2020-12-16T16:34:46.910Z) OS version: Windows_NT x64 10.0.19041

HerrB92 avatar Dec 28 '20 21:12 HerrB92

@HerrB92 Thank you for pointing this out. I've updated the VS Code React tutorial but unfortunately the TypeScript-React-Starter repo is read-only and doesn't look like anyone has recently updated it.

gregvanl avatar Jan 06 '21 04:01 gregvanl