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

Open the react application with your phone browser, show error #12758

Closed
TonyGGC opened this issue May 7, 2018 · 5 comments
Closed

Open the react application with your phone browser, show error #12758

TonyGGC opened this issue May 7, 2018 · 5 comments

Comments

@TonyGGC
Copy link

TonyGGC commented May 7, 2018

Current Behavior:
Open the react application with your phone browser, show error:

Warning: Failed prop type: Invalid prop children supplied to Switch, expected a ReactNode.
in Switch
Warning: Failed prop type: Invalid prop children supplied to HashRouter, expected a ReactNode.
in HashRouter
Warning: Failed prop type: Invalid prop children of type object supplied to Provider, expected a single ReactElement.
in Provider

my Environment:
"react": "^16.3.2",
"react-dom": "^16.2.0",
"react-redux": "^5.0.7",
"react-router-dom": "^4.2.2",
"redux": "^4.0.0",

@gaearon
Copy link
Collaborator

gaearon commented May 7, 2018

Hi! We use the issue tracker for bug reports and feature requests.

If you have a question, please check our community support resources:
https://facebook.github.io/react/community/support.html

@gaearon gaearon closed this as completed May 7, 2018
@TonyGGC
Copy link
Author

TonyGGC commented May 7, 2018

@gaearon I cannot find any info in your community support resources

@gaearon
Copy link
Collaborator

gaearon commented May 7, 2018

Which ones have you tried?

@gaearon
Copy link
Collaborator

gaearon commented May 7, 2018

The folks on Discord chat are friendly and should be able to help you.

@TonyGGC
Copy link
Author

TonyGGC commented May 8, 2018

I have search the 'Switch', 'HashRouter' and 'Provider' in the community support resources, did not find resources related to my problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants