@reactionaries/hookd
Hookd is a module converting JSX class components to functional components
To install:
npm i @reactionaries/hookd
To use:
const hookd = require('@reactionaries/hookd');
// returns a functional component as a string
hookd(someClassComponentAsAString)