react-s-alert
react-s-alert copied to clipboard
When using a contentTemplate constructor is called many times with different this.props.id
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.