@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!
The render types section of the blog post doesn't even go all that in depth.
This is contrived for the sake of conciseness but really pay attention to what this code is expressing and understand how buck wild it is that we can express this with complete type safety!
@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!
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.
https://t.co/IUTXGqOBhB
@flowtype is now releasing some TS features before TS! xD
https://t.co/lat6Mz97f0:
> Flow now supports the same NoInfer intrinsic that will be available in TypeScript 5.4.
Flow now supports Conditional Types, which allow you to choose an output type based on an input type - like a ternary expression for types:
https://t.co/sBsz7mMuT7
We’ve refreshed our documentation (https://t.co/4K3PQy4YV1) , and added the ability to configure options and lints in Try Flow (https://t.co/NDSUVRZLEZ)!
https://t.co/JmAGGiWRAj
Website is now built with @docusaurus
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.
https://t.co/wUamQ03uIM
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. https://t.co/eCas7DhMsr
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.
https://t.co/OAR7tciJqf