react-native-root-toast
react-native-root-toast copied to clipboard
Fix infinite render() when Toast.show() in componentDidMount()
This is BREAKING change because Toast.show() returns Promise<>. Please check this commit is best way.
I tried to show Toast in componentDidMount() but appending sibling makes infinite render() call. To escape this situation, I tried to show Toast in another context and it worked. Please check this.