react-native-root-toast icon indicating copy to clipboard operation
react-native-root-toast copied to clipboard

Fix infinite render() when Toast.show() in componentDidMount()

Open mswokk opened this issue 7 years ago • 0 comments

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.

mswokk avatar Jun 30 '18 12:06 mswokk