Giter VIP home page Giter VIP logo

almond-bongbong / react-simple-toasts Goto Github PK

View Code? Open in Web Editor NEW
28.0 2.0 7.0 16.28 MB

๐Ÿž Instant, lightweight toast notifications for React. No providers or containers needed.

Home Page: https://almond-bongbong.github.io/react-simple-toasts/

HTML 0.52% JavaScript 1.98% CSS 9.89% TypeScript 87.61%
react toast toast-notifications toastify toast-message toast-ui toastr react-notifications react-toastify

react-simple-toasts's People

Contributors

almond-bongbong avatar ammuench avatar dependabot[bot] avatar fantasticake avatar kim-yeon-ho avatar themmanuel avatar

Stargazers

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

Watchers

 avatar  avatar

react-simple-toasts's Issues

React v.18 support?

Hey guys.

Congrats for this awesome little yet useful package.

I guess you already know, but currently the implementation is not supported by the newest version of React (>18.0.0). Every time the toast function is executed, this error prompts in the console:

Captura de pantalla 2022-09-14 a las 12 42 44

Any chance you are already working on a new workaround instead of using ReactDOM.render?

Thanks in advance!

Support Mobile Layout for Document Page

Problem Description

The current document page does not display correctly on mobile devices, and the layout is broken. Optimization for mobile devices is required to ensure that users can view the page smoothly across various devices.

Expected Solution

  • Apply responsive design to accommodate different screen sizes.
  • If necessary, design a separate layout that considers the user experience in the mobile environment.

Additional Information

Testing and validation in the mobile environment are required, and consistency across devices must be maintained.

Can't use package out of the box: Import error

After installing the module from npm, I get the following runtime exceptions:

Module not found: Error: Can't resolve '/Users/cmlee/Code/react-simple-toasts/node_modules/tslib/tslib.es6.js'

and

Module not found: Error: Can't resolve '/Users/cmlee/Code/react-simple-toasts/node_modules/style-inject/dist/style-inject.es.js'

I don't use Typescript for my React project. Following the path with the user 'cmlee', I suspect something has gone wrong on the export / building of the package, maybe only for non-TS users?

[email protected] Install Error

I am getting the following error -

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR!   react@"^17.0.2" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.8.0 || ^16.9.3" from [email protected]
npm ERR! node_modules/react-simple-toasts
npm ERR!   react-simple-toasts@"*" 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
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 

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.