ryanb / nested_form

Rails plugin to conveniently handle multiple models in a single form.
MIT License
1.79k stars 505 forks source link

Move blueprints from DOM to memory - gives much better performance #338

Open ramonsnir opened 9 years ago

ramonsnir commented 9 years ago

We have several very (very) large blueprints, which when we stored in the DOM (in the data-blueprint attribute) caused Chrome to have hiccups, and made the Developer Tools practically useless (unless running the life-saver (function(){$('*[data-blueprint]').remove();})()).

This change was very useful for our case.