use-constructorreact hook that behaves like a class constructor for functional componentsuse-constructorcomponentwillmountconstructorreacthook0.0.3 • Published 4 years ago