Skip to content Skip to sidebar Skip to footer

React Router Url Change But Not Component

React Router change the URL but the component is not rendered I have already looked for answer but none of those example is worked Current React Router & React Router DOM versi

Solution 1:

Try setting the 'component' attribute with lowercase c

Solution 2:

I think it's a simple mistake. You capitalized the attribute word component in your Routes.

Post a Comment for "React Router Url Change But Not Component"