I'm super new to Meteor and I'm struggling to complete even a simple task...
I want to add an "active" class to a react component if the current route matches a certain condition. This works on page load but when the route changes the class doesn't update - it's not reactive.
From the docs it looks like I need to use Tracker to make it reactive but I have no idea how to put that together with react meteor data/createContainer so my component re-renders when the path updates.
I'm super new to Meteor and I'm struggling to complete even a simple task...
I want to add an "active" class to a react component if the current route matches a certain condition. This works on page load but when the route changes the class doesn't update - it's not reactive.
From the docs it looks like I need to use Tracker to make it reactive but I have no idea how to put that together with react meteor data/createContainer so my component re-renders when the path updates.
Any ideas?