SHARE
TWEET

Untitled

a guest Jun 25th, 2019 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Where it's invoked...
  2.  
  3. <ParentPageComp>
  4.   <Dialog open>
  5.     <MyConnectedComponent />
  6.   </Dialog>
  7. </ParentPageComp>
  8.  
  9. // What is being attempted to render...
  10.  
  11. class MyConnectedComponent extends React.Component {
  12.   render() {
  13.     return <div>Yeppers</div>;
  14.   }
  15.  }
  16.  
  17. export default connect(state => ({ blah: state.blah }))(MyConnectedComponent);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top