Skip to content

Instantly share code, notes, and snippets.

@AndrewRayCode
Created August 8, 2015 19:05
Show Gist options
  • Select an option

  • Save AndrewRayCode/e414cb2a691b026a9d4b to your computer and use it in GitHub Desktop.

Select an option

Save AndrewRayCode/e414cb2a691b026a9d4b to your computer and use it in GitHub Desktop.
connectToStores() {
let view = arguments[ 0 ];
let connectedView = connectToStores.apply( null, arguments );
connectedView.willTransitionTo = view.willTransitionTo;
_.extend( connectedView.contextTypes, view.contextTypes );
return connectedView;
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment