manuelbieh / react-ssr-setup

React Starter Project with Webpack 4, Babel 7, TypeScript, CSS Modules, Server Side Rendering, i18n and some more niceties

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Migrate to TypeScript

manuelbieh opened this issue · comments

It's time to say good bye to Flow. It gets more and more annoying, eats more and more RAM. Whenever I start VSCode my CPU cooler goes crazy and the reason for that is Flow. While I still very much like the idea of Flow as being a type checker only without a whole own ecosystem of tools I still see no other choice due to its laggyness and performance hunger.

I will soon start to configure everything to be TypeScript ready (which I have done in my last client project already) and I will use TypeScript with Babel 7 for the type checking only. So it should basically not feel much different to Flow and will be completely opt-in.

I will leave the Flow config intact so you can still install and use Flow if you prefer that.

image

Every single time.

Fixed in #57