@reactionaries/hookd
v0.0.27
Published
a module to convert React class components to hooks
Downloads
22
Readme
@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)