Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
render: function(){
var tm = window.ReactTemplates[this.templateName];
if (typeof tm === 'function') {
return tm.apply(this, arguments);
} else {
// however errors work in React
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment