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.
- Fix missing gap icons
- add variants with data-attr
- write tests
- Original Component: react-hot-toast.
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.