reactjs - How To Do onRendered Template like on Meteor React's Component -
i show canvas on template rendered using react component. know in blaze's style perform like,
template.test.onrendered = function(){ // draw canvas }
how call canvas onrendered if using component?
i believe you're looking componentdidmount()
. meteor chef has few blog posts on blog. here's link 1 of first react walkthroughs.
Comments
Post a Comment