I maintain the state of my front-end in several Mongo collections. There are several examples where I want to access the state of an object in two different React components. This is all fine with withTracker.
One further thing I would like to do is maintain a local sub-state - a set of parameters that are not synced with the server, and disappear on page refresh. My first thought would be a client-only unmanaged collection (with connection = null), but I don’t seem to be able to subscribe to changes to this collection.
Would someone be able to point me in the right direction as to whether this is possible, and how to achieve it?
Thanks in advance.