Original Copy 002 - To Flow, or Not to Flow
This past week I came across a discussion on Twitter that is pretty relevant to a decision my team and I are facing at work:
I'm dropping Flow in favor of TypeScript... and you should too.
β BOOlean π»πΆπ³οΈβπ (@jamiebuilds) November 19, 2018
Flow just doesn't give a shit about the community... and I say that having worked on the Flow team at Facebook.
Facebook should drop Flow entirely. It's a bad investment for even them at this point
At the beginning of the year we decided to go with Flow for a greenfield application that is still in active development. After almost 9 months working with Facebook's type checker, I can't remember the last time I actually enjoyed working with it. It's been an uphill battle to say the least.
- The integration with VSCode is not so good
- I've opened and contributed to a number of frustrating issues on GitHub that don't seem to be going anywhere
- The error messages can be quite cryptic
There have been a number of scenarios where my workflow has come to a screeching halt in order to deal with any of the above mentioned pain points, and I think I've had enough.
Maybe it's time we switch to TypeScript too...
What do you think?
π On the blog
In last week's blog post I wrote about an ongoing conflict involving the awesome JS tool husky
and my global git hooks. Apparently I wasn't the only one with this issue!
Seriously good stuff
π» htm
π¦ HTM: JSX without the transpiler.
β JSON Miller π¦β (@_developit) November 20, 2018
700 bytes to run in the browser,
or compile it away using babel-plugin-htm.
(works with any VDOM library!)https://t.co/KrlyiYP9Aj pic.twitter.com/qbEFfMT1Dy
Jason Miller, @_developit on Twitter and the creator of Preact, released a new library that lets you build UI with JSX sans-transpiler! Wicked cool idea and super useful for prototyping/POC's.
πΊ The Truth About Black Friday
I was first introduced to Matt D'Avella's work when I watched his Netflix documentary Minimalism. It resonated with me, and so I searched him out on other platforms. He's been doing a lot of great (ad-free!) work on YouTube. This video is for anyone who finds the holiday shopping rush to be a bit...over-the-top.
π How To Write Go Code
I've been intrigued by the Go programming language for some time, and I don't have an explanation as to why. I can only tell you that I've never worked with another language aside from JavaScript and I'd like to change that. This is a "Getting Started" article from the Go documentation, and introduces you to some of the concepts if you're interested in learning Go yourself.
Talk to you next week,
Happy coding! πΎ