orion-ui
orion-ui copied to clipboard
Look through components for event registration and extract to wrapping React component
As a developer
I want to use the React Developer tools to see the state and props of my components
So that I can understand why it's in the state that it is
Currently we listen for events in some adapters (example: this.hig.onProfileImageClick(this.openProfile);
We should remove these event listeners because they are opaque to React Dev tools. Instead let's use a wrapper component which listens to the event and sets a property on the adapter.