Toast messages/app notifications manager in less than 5 minutes
What are we trying to build and why?
A simple toast messaging system — many guides on the Internet tend to overcomplicate and overengineer things, so let’s keep it simple (KISS principle). We only need 2 files with 50–60 lines of code combined.
A fully custom toast messaging system —maybe we picked a UI library that does not have a toast message component, or maybe it does have but it does not serve our needs, and now maybe we do not want to introduce a new UI library within our project to simply make use of a single component, or maybe we do not want to use a third-party UI library at all, so let’s create it ourselves from scratch. …