react-hoist-hook-class (npm): Dont refactor your code, just install this library :D
Keywords: react|react-class-hooks|react-hooks|react-native|typescript