Flow

559 posts

Flow banner
Flow

Flow

@flowtype

A Static Type Checker for JavaScript

Присоединился Kasım 2014
14 Подписки10.6K Подписчики
Flow
Flow@flowtype·
Flow now supports Mapped Types, inspired by TypeScript. Read more about them in our new blog post: medium.com/flow-type/anno…
English
0
7
25
10.5K
Flow
Flow@flowtype·
@naman34 As we roll out React 19 internally we will not need to change any product code to get rid of forwardRef calls. We'll only need to change the Component Syntax transform. One less thing for developers to think about!
English
0
0
4
317
Flow
Flow@flowtype·
@tomus_sherman Yes, mutating methods are significantly more difficult to detect than direct property mutations. Doing this soundly might be prohibitively difficult to adopt in a large codebase, so we're looking into multiple options. This is an active area of investigation for us!
English
0
0
8
4.7K
Tom Sherman
Tom Sherman@tomus_sherman·
@flowtype Readonly props doesn't protect against mutable methods right, any plans to fix that?
English
2
0
1
7.5K
Flow
Flow@flowtype·
We added new language features to Flow for writing React. Learn about our new Component Syntax: medium.com/flow-type/anno…
English
17
42
236
197.5K
Flow
Flow@flowtype·
Flow now supports Type Guards (functions that can be used to narrow a type)! Unlike @TypeScript, we run checks on the body of the function to catch some invalid definitions. medium.com/flow-type/anno…
English
0
5
26
4.5K
Flow
Flow@flowtype·
Flow now supports Conditional Types, which allow you to choose an output type based on an input type - like a ternary expression for types: medium.com/flow-type/anno…
English
2
5
37
4.9K
Flow
Flow@flowtype·
We just announced a new type checking mode that will make Flow's inference much more predictable and reliable. Check out our latest blog post for more info and instructions for upgrading to the new mode. medium.com/flow-type/loca…
English
0
3
17
4K
Flow
Flow@flowtype·
We just announced a new language enforcement flag to help prepare your codebase for Local Type Inference. Check out our latest blog post for more info and instructions for enabling that flag. medium.com/flow-type/requ…
English
1
0
7
0
Flow
Flow@flowtype·
We just released a new language rule that'll make Flow's inference much more predictable. Check out our latest blog post for more info and instructions for upgrading to that new inference mode. medium.com/flow-type/new-…
English
1
6
15
0
Flow ретвитнул
Brian
Brian@brianzchen·
flow-typed has just released our first chrome extension to help you find out if a library definition is available that much faster on npmjs.com! Follows the way TS appears. Any feedback appreciated! @flowtype chrome.google.com/webstore/detai…
English
4
1
7
0