22:33
I've worked with google maps' geocoder before @d4rk4ng31
I want to publish a React component to be used in multiple apps held by my team, but I need the state of the component to be shared with other (non-descendant) components within an app. Does anyone know the best pattern to achieve this?
It seems clunky but my current plan is to just pass a callback function to this shared component, have that function called each render, and inside that callback, set the relevant part of the redux state tree in my application