Last active
July 27, 2017 18:29
-
-
Save spencer-brown/65b41fba869e0570bd776374bd804874 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ... | |
const MeetingTypesDashboardView = Backbone.View.extend({ | |
render() { | |
ReactDOM.render( | |
<MeetingTypesDashboard />, | |
this.el | |
); | |
return this; | |
}, | |
remove() { | |
ReactDOM.unmountComponentAtNode(this.el); | |
MeetingTypesDashboardView.__super__.remove.apply(this); | |
} | |
}); | |
// ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment