use-constructor

react hook that behaves like a class constructor for functional components

Browse on unpkg