Skip to content
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

Invariant Violation: ToastContainer.render() #60

Closed
bardzh opened this issue Oct 13, 2017 · 6 comments
Closed

Invariant Violation: ToastContainer.render() #60

bardzh opened this issue Oct 13, 2017 · 6 comments
Assignees

Comments

@bardzh
Copy link

bardzh commented Oct 13, 2017

I have two working version of my application, one is local host and one on aws ,
weirdly, notify function works fine on my local host by on the aws i get this error upon launch

Invariant Violation: ToastContainer.render() ...

@jfsiebel
Copy link

Thats because on the last update the render is returning an Array which is only valid in React 16>.

Just fix the package version to 2.1.0 or update react.

@fkhadra
Copy link
Owner

fkhadra commented Oct 13, 2017

hmm maybe it was not a good idea to return an array. What do you think ?

@Kepro
Copy link

Kepro commented Oct 13, 2017

@fkhadra, thanks for fixing #50 but for backward compatibility you need to wrap it to some div

@fkhadra
Copy link
Owner

fkhadra commented Oct 13, 2017

I'll fix it now. I was a bit too optimistic.

fkhadra added a commit that referenced this issue Oct 13, 2017
@fkhadra
Copy link
Owner

fkhadra commented Oct 13, 2017

Sorry for that change. It's fixed now.

@fkhadra fkhadra self-assigned this Oct 13, 2017
@bardzh
Copy link
Author

bardzh commented Oct 14, 2017

you're awesome

@fkhadra fkhadra closed this as completed Oct 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants