done-bar
done-bar copied to clipboard
ComponentWillMount is now deprecated and is considered unsafe.
The work around simply is to declare anything in ComponentWillMount on its own in the open like here
The work around simply is to declare anything in ComponentWillMount on its own in the open like here