Skip to content

CLI 0.2.0

Latest

Choose a tag to compare

@blazejkustra blazejkustra released this 18 Aug 21:21
· 3 commits to main since this release
4a36a1f

Added

  • "use no memo" opt-outs are now counted and reported as skipped (⏭️) instead of being dropped
  • --compilation-mode <mode> flag to set the React Compiler compilationMode (infer, annotation, syntax, all; default infer)

Fixed

  • .js/.jsx/.mjs files with a @flow pragma are now parsed with hermes-parser, so modern Flow syntax (component, hook, renders, readonly, match, x is T, …) no longer fails to parse — thanks @jonreading81
  • Skipped entries are now reported at the start of the function for multi-line signatures instead of a later line