Git Product home page Git Product logo

walidcherhane / rc-toastr Goto Github PK

View Code? Open in Web Editor NEW
17.0 0.0 0.0 621 KB

a fully customizable ReactJs toasting library that helps you build complex notification in your app.

Home Page: https://dub.sh/rc-toastr

License: MIT License

HTML 3.18% TypeScript 66.00% CSS 25.44% JavaScript 5.38%
notifications react react-components react-toast-notifications react-toasts toast-message toast-notifications message toast

rc-toastr's Introduction

Follow @cherhane_walid on Twitter

rc-toastr's People

Contributors

walidcherhane avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rc-toastr's Issues

It throws an error when the given promise has been rejected using toast.loading() method

Thanks for this great library.
There is a bug you should be aware of. when I use the loading() method if the given promise has been rejected it throws an error that should not be thrown because of using try..catch.
The error() callback must be called without any error.
I believe that you should remove the throw err on the last line to fix the bug.
Regards, Javad Moradkhah.

Annotation 2022-11-21 210422

Error installing - update the dependency

npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR!   react@"^18.2.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.0.0" from [email protected]
npm ERR! node_modules/rc-toastr
npm ERR!   rc-toastr@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps

The package is nice and clean with minimal configuration! It's better if we have the dependencies updated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.