Skip to content

shipstar/flow-examples

Repository files navigation

8 basic Flow examples where simple things are broken and fixable in each one.

Some of the examples are adapted from here.

To get started, install flow based on these instructions. Then, run flow check in the root directory to check all files, or flow check-contents < [file-name] to check one at a time.

Presentation

JavaScript is dynamically typed.

Sometimes things break at runtime.

Some people want things to break at compile-time instead.

People are inventing compile-to-JS languages for that. (PureScript, TypeScript, etc)

But I already wrote SOOOO much JavaScript...

Facebook Flow!

About

A few examples of the Facebook Flow type checking system.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published