Jordan BrowninFlowAnnouncing: Mapped Types + Pick, Omit, and Recordtl;dr: Mapped types allow you to transform object types into other object types. We have added definitions for Pick, Omit, and Record…Aug 6Aug 6
Jordan BrowninFlowNew Flow Language Rule: Constrained WritesFlow is releasing a new language rule that determines the type of an unannotated variable at its initialization. Along with these new rules…Aug 5, 2022Aug 5, 2022
Jordan BrowninFlowHow to upgrade to exact-by-default object type syntaxAlmost a year and a half ago, we announced our plans to make object types exact by default. We’ve consistently heard from our users that…Jan 29, 2020Jan 29, 2020
Jordan BrowninFlowSpreads: Common Errors & FixesIn v0.111 the Flow team is rolling out a ton of fixes to object spreads (spreading an object in an expression, see “Spread in object…Oct 30, 20191Oct 30, 20191
Jordan BrowninFlowComing Soon: Changes to Object SpreadsThe Flow team is making changes to how Flow models object spreads, and you’ll start to see some of these changes in v0.106.0. When the…Aug 20, 20193Aug 20, 20193
Jordan BrowninFlowUpgrading Flow CodebasesAfter releasing v0.85.0, we’ve been receiving a lot of feedback from developers about the difficulty of upgrading Flow in their codebases…Apr 9, 20193Apr 9, 20193
Jordan BrowninFlowSupporting React.forwardRef and BeyondIn Flow v0.89.0, we’re releasing React.AbstractComponent, a new type that we use to model forwardRef and other React components. This new…Dec 13, 20181Dec 13, 20181
Jordan BrowninFlowOn the Roadmap: Exact Objects by DefaultOver the next few releases, Flow will be changing the syntax for object types to denote exact object types by default.Oct 16, 20186Oct 16, 20186
Jordan BrowninFlowPrivate Object Properties Using Flow’s Opaque Type AliasesIn the last few weeks, a proposal for private class fields in Javascript reached stage 3. This is going to be a great way to hide…Aug 25, 2017Aug 25, 2017
Jordan BrowninFlowHiding Implementation Details With Flow’s New Opaque Type Aliases FeatureDo you ever wish that you could hide your implementation details away from your users?Jul 27, 20171Jul 27, 20171