@ma.vu/toaster
v0.0.3
Published
This is simplification and rewrite of react-hot-toast. Few major things I didn't like and didn't think author would accept my PR.
Downloads
1
Readme
Motivation
This is simplification and rewrite of react-hot-toast. Few major things I didn't like and didn't think author would accept my PR.
- Wanted to have no dependency toaster (removing CSS-in-JS
- I wanted to simplify pooling with intervals instead of setTimeouts
- abstracted and Simplified dismiss timeouts
- abstracted and simplify sync between store and react, that one particullarly looked nice.
- Other smaller naming improvments.
TODO:
- Fix missing gap icons
- add variants with data-attr
- write tests
Resources:
- Original Component: react-hot-toast.
Why didn't I fork?
I didn't intend to do it at all, I played around with it on stackbliz and before I relized I fullfiled most of my goals.