Re:What's New in Create React App
by tomduncalf on Friday May 19, 2017 @02:38AM
(#14373436)
See https://news.ycombinator.com/item?id=14373433 - Microsoft have just released an official starter kit which uses create-react-app. Not tried it myself yet but it looks great and is well documented
[ Parent
| on HN ]
That's pretty sweet, especially because they do so without having to eject.
Direct link: https://github.com/Microsoft/TypeScript-React-Starter
Re:What's New in Create React App
by tomduncalf on Friday May 19, 2017 @03:52AM
(#14373665)
Yeah sorry, I linked to the post in the hope that this gains a bit of traction as really want people to be aware that getting started with TS and React is a whole lot easier now! I have a fairly popular blog post on the topic of setting up TS and React that I'll update to point to the Microsoft repo to help spread the word.
Here's the package that adds the TS functionality to create-react-app FYI: https://github.com/wmonk/create-react-app-typescript
No problem, I use TS+React too and definitely support this becoming less of an oddity. Luckily, it's moving in that direction already, with e.g. Jest being far easier to use with TypeScript since Jest 20.
A link to your blog post would be great!
Re:What's New in Create React App
by rpwverheij on Friday May 19, 2017 @05:51AM
(#14374132)
ahh cool, didnt know, typescript is the main thing that would make me have to emmediatly eject since I use it for all my js projects these days, thanks!