-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
routing issues #562
Comments
The issue with this is not how you configured the route rather it is the syntax. Here is what you have
This is on the right track but instead of returning this as an object, you need to format this as a function with that JSX returned.
By adding the arrow syntax this is now a function then we explicitly return the JSX. I hope this helps! |
That snap of the video is correct - note that it's using parentheses, not curly braces. :) |
@coryhouse that's true, I just get confused when I saw errors first and then I started seeing conversation in #393, sorry guys.. |
@coryhouse
Hi there, I am coming from plural sight.
Today I was configuring my router, but it seems like the code is not working any more.
see below snap.
so, what is a perfect way to resolve this issue?
I can see there are lots of discussion on this topic like this one #393
but as I am new to react, I don't know which one is correct. can you help me with this? thanks.
The text was updated successfully, but these errors were encountered: