3 ms·
Try breaking up your render method into smaller chunks, and only re-rendering content that needs replacing. You can even leave the el if it exists already, and
by elliottkember 14y ago
Try breaking up your render method into smaller chunks, and only re-rendering content that needs replacing. You can even leave the el if it exists already, and just update text or form fields.
- swah 14y agoI do that in some places, but its much harder to this.$el.find and replace elements than just re-running the template.