Company
Date Published
Author
Esteban Herrera
Word count
1792
Language
-
Hacker News points
None

Summary

Create React App 2.1, released in October 2018, introduced official TypeScript support along with various improvements that simplify the setup and configuration of React applications. Key features include service workers, Sass, CSS Modules, PostCSS, React fragments with short syntax, Babel macros, and custom proxy implementation. The update also supports Yarn Plug’n’Play mode, allowing applications to operate without a node_modules directory, thus speeding up app creation by loading dependencies directly from Yarn's cache. For new projects, developers can activate TypeScript by using a command-line option, while existing apps require manual package installation and file extension changes. Despite the enhancements, the article advises caution in upgrading existing projects unless the new features are needed, suggesting that developers might benefit from waiting for further stabilization of the release.