walleXD / class2hooks

Refactor React Class Components into Functional components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Class2Hooks (Experimental)

Refactor React Class Components into Functional components

Build Status

branch status coverage
master Build Status Coverage Status
staging Build Status Coverage Status
dev Build Status Coverage Status

Set up for development

  1. Make sure node 10.15.1 is installed in your machine

  2. Install yarn and lerna globally using npm

    npm i -g yarn lerna
  3. Install all dependencies

    cd class2hooks
    yarn i
  4. Run Class2Hooks on the sample components to check if everything is running

    cd packages/core
    yarn dev

About

Refactor React Class Components into Functional components


Languages

Language:TypeScript 76.8%Language:JavaScript 23.2%