News for hackers. Stuff that matters.
Re:Convert React JavaScript Code to TypeScript with Proper T... by seanmcdirmid on Tuesday January 16, 2018 @02:47PM (#16161623)
I seem to forget to save sometimes also (granted, that would mess me up with javascript also), I'm just so used to straight C# in Visual studio!

Typescript also isn't a very fast compiler, it doesn't seem to be incremental or retained at all, so when you build your project, it take a few seconds when your project has grown beyond a certain size. Sometimes I build and then hit run too early (before the build is actually finished).

Re:Convert React JavaScript Code to TypeScript with Proper T... by 52-6F-62 on Tuesday January 16, 2018 @06:40PM (#16163988)
Ah yeah. I guess Webpack's boost would be lost if your project ends up at all complex as well.

Are you doing all of your TS dev in Visual Studio as well?

Re:Convert React JavaScript Code to TypeScript with Proper T... by agopaul on Wednesday January 17, 2018 @03:52AM (#16166476)
I'm using webpack on a ~60 TS files project now. It takes a few seconds to bootstrap, but then, in watch mode, it only compiles the files that are changed and it's really fast.
Re:Convert React JavaScript Code to TypeScript with Proper T... by seanmcdirmid on Tuesday January 16, 2018 @07:24PM (#16164304)
No, since leaving Microsoft I've been doing everything on a Mac via VS Code.