react-simply
react-simply copied to clipboard
Rename getState -> useState
getState() is meant to be used as React hook, so we may use more compatible name useState(). This would for example enable proper detection as hook by eslint-plugin-react-hooks.
Sorry, I've noticed that there's a PR related to this issue: https://github.com/lukashala/react-simply/pull/6 so feel free to close this or keep as a reference.