fakenickels / reasonable-codemod

Trying out some ideas for codemods

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Trying out some ideas for codemods

License:MIT License


Languages

Language:Reason 85.4%Language:JavaScript 14.5%Language:C++ 0.1%