-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stage 7: Replaced the functional component with class component.
This solved the callback cancellations problem as componentWillUnmount will have access to state and on componentDidMount I am storing the canvas in component's state.
- Loading branch information
A M Akankshit
authored and
A M Akankshit
committed
Oct 31, 2020
1 parent
8f7607b
commit e9dfbc9
Showing
1 changed file
with
44 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters