Migrate to React 16.3 lifecycle methods and refs
billyjanitsch opened this issue Β· comments
Billy Janitsch commented
Now that v2 has dropped support for React < 16.3, we can use getDerivedStateFromProps
and createRef
. π
Billy Janitsch commented
The only work left here is moving away from componentWillReceiveProps
in CanvasInput
:
orama/src/CanvasInput/index.js
Lines 45 to 53 in bb2315c