/reasonable-codemod

Trying out some ideas for codemods

Primary LanguageReasonMIT LicenseMIT

Reasonable Codemod

Follow up my blog for updates!

Upgrade from bs-react-native-jsx3-compat to reason-react-native.

todo

  • Style
  • Linking
  • Keyboard
  • Animated
  • Image
  • Packager
  • Dimension
  • Alert
  • FlatList

readme yet to be updated

Installation

$ esy add reasonable-codemod

Usage

ls **/*.re | esy x codemod

[WIP]

Structure

Codemod.re file contains the main refactor logic. My idea is that after you'll only need to care about modifying that file and leave the rest of the boilerplate untouched.