indexiatech / re-notif

Redux & React based Notifications center.
http://indexiatech.github.io/re-notif
BSD 3-Clause "New" or "Revised" License
148 stars 45 forks source link

do not display notifications with the same id #45

Closed michelre closed 7 years ago

michelre commented 7 years ago

I needed a way to not display multiple times notifications with the same ids. So my solution is just to filter notifications with the given id within the reducer, so we avoid creating 2 notifications with the same id.