I have some navigation which is a react component. I then have a link in my content further down my page. When the link is clicked I want to add a CSS class to the navigation component.
They are completely separate components.
In the past I might use jQuery to target the nav, then use the addClass() function. I am struggling to figure this out in React.