xwp / wp-customize-partial-refresh

[OBSOLETE: Now part of Core] Customize Partial Refresh plugin for WordPress
https://wordpress.org/plugins/customize-partial-refresh/
12 stars 5 forks source link

Improve performance for finding containers? #23

Open westonruter opened 8 years ago

westonruter commented 8 years ago

Instead of using selectors like [data-customize-partial-id] for data attributes, switch to using classes when possible. Also, the logic for ensuring widgets have containers inside of a sidebar prior to update should be optimized with classes.