This repository has been archived by the owner on Sep 10, 2022. It is now read-only.
toClass()
New helper that converts a function component to a class component. Might be useful if you need a ref.
Also added a helper isClassComponent()
that returns whether a component is a React component class.
Thanks @haradakunihiko @py-in-the-sky and @istarkov for your help!