Skip to content

Replace react-toastr with react-s-alert #1216

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 7 commits into from
Closed

Conversation

AllenFang
Copy link
Owner

@AllenFang AllenFang commented Apr 11, 2017

Due to #838 issue and so cause a series of issues about dependency or no found for @allenfang/react-toastr, Because there's no way to fix #838, only the creator of react-toastr can fix it internally, so that I create @allenfang/react-toastr.

Anyway, react-toastr seems like have no any update and activity for a long time, so I decide to replace react-toastr with react-s-alert, it's much easy to use and customize and still have activity in these two day.

I also publish a beta version, v4.0.0-beta.1, please upgrade and test it. Any enhancement for react-s-alert will be enhanced in near future.

Related issues:
#838
#861
#863
#898
#969
#1054
#1081
#1152
#1171
#1191
#1204

Finally, sorry that I don't face this issue actively, it's my bad and for this PR can save some people.
Let me know if you have any concern questions and feedback.

I plan to release v4.0.0 in these couple days if without any critical bugs.

@ZephD
Copy link

ZephD commented Apr 24, 2017

Great!

We recently noticed that react-bootstrap-table includes react-toastr which includes it's own react and react-dom, and also jquery! This bloats our code base phenomenally.

To be honest, why does a table need notifications at all?

@AllenFang
Copy link
Owner Author

AllenFang commented Apr 24, 2017

To be honest, why does a table need notifications at all?

Actually, no need absolutely. That's really pretty bad decision about two years ago... For the notification, we need it to display some message for invalid input for cell editing or insert. But at first, I should make notification can be pluggable or use something like that. For now, it's hard to get ride of it

@AllenFang
Copy link
Owner Author

Reopen on #1534

@AllenFang AllenFang closed this Aug 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

react-toastr 2.8.2 breaking build
2 participants