Closed wle8300 closed 5 years ago
Haha, did not expect this! That's a great detailed post there. Thanks, you made my day 😄
Just a quick mention, under the hood it does not use Context API, but it works basically in the same way.
Happy to share this with others. You went the extra mile with this lib!
Does it use redux? Or your own state management?
On Sep 3, 2019, at 3:20 AM, Rares Mardare notifications@github.com wrote:
Closed #27.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
No, it doesn't use redux. It relies on that fact that you need one instance only per app and when it gets mounted it creates the store you import to add and remove notifications. Simple as that, no redux, no context.
Hi @teodosii!
This isn't really an issue. I just wanted to let u know that I did a blog post on this library: https://alligator.io/react/react-notifications-component/
Thx for the great work on this!