facing in React.
I have copied a component but I have given it a different name.
I'm using Tabs, to render two different components.
In the copied component, If I change anything in the container or remove some JSX code.
It gets reflected in the original component.
Why is this happening when the component names are different?
Hey Guys, Finally Solved it! It was a very trivial error...Instead of adding the path as "/pathname/path" , I had added the path as "pathname/path" for the Route.
Обсуждают сегодня