Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah. There's a dozen existing "notifications with Redux" libs already: https://github.com/markerikson/redux-ecosystem-links/blob/ma... .

Behavior-wise, it basically just amounts to a pair of SHOW and CLOSE actions, possibly with the reducer tracking an array of open notification entries, and a component that maps over the array and shows an actual notification entry. I glanced at the ones in my list, saw the similarities, and just wrote my own.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: