From 06b2446daace22b326651459c89dcc866d955370 Mon Sep 17 00:00:00 2001 From: Abhas Date: Fri, 4 Jan 2019 12:04:59 +0530 Subject: [PATCH] Add TODO to make superclass with hooks functionalities --- src/App2.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/App2.js b/src/App2.js index 99e6ed8..fa42d7e 100644 --- a/src/App2.js +++ b/src/App2.js @@ -35,6 +35,7 @@ export default class App extends Component { ]); } + // TODO: Make superclass out of this mocked functions useEffect(asyncFn, dependencyArrayFnOptional = undefined) { this._internal.effects.push({ asyncFn,