React Hook akan meningkat
const useComponentWillMount = (func: (params?: any) => any) => useMemo(func, []);
TindyC
const useComponentWillMount = (func: (params?: any) => any) => useMemo(func, []);
useMemo(() => { }
}, []);