react-s-alert icon indicating copy to clipboard operation
react-s-alert copied to clipboard

When using a contentTemplate constructor is called many times with different this.props.id

Open sealightPT opened this issue 6 years ago • 0 comments

When I was trying to log the alert messages on contentTemplate constructor or componentDidMount I noticed it was being called twice! When we stack a new alert (with effect="stackslide", for instance) it can even be called a third time for the same message.

sealightPT avatar Dec 06 '18 18:12 sealightPT