Hi Todd, thanks for the reply. I assumed the concept would be close enough between Vue/React that just the general idea of the "how" would be enough for me to figure it out.
I'm using the esri-loader for my map components, just seemed like the easiest way to do it.
I semi-figured out a solution for now, by just using Vue's built in store watcher within the map JS, then using its on change events to update the data I need updated. Not sure if it's the most elegant solution but it'll work for now.
-----------------------------------------------------------------------------------------
this.$store.watch(() => this.$store.state.DefinitionExpression, (newExpression) => {
pointLayer.definitionExpression = newExpression;
polygonLayer.definitionExpression = newExpression;
})
---------------------------------------------------------------------------------------
I'm certainty going to dig into finding something similar to a React Context in Vue that seems like a better way.
Thanks.