Which method of updating multiple elements provides better rendering performance?
Using classList to update multiple elements provides better rendering performance because: 1) Class changes can be batched by browsers more efficiently, 2) Browsers optimize style recalculation for class changes, 3) It doesn't require parsing HTML like innerHTML, 4) It's more efficient than setting individual style properties. Additionally, classList operations are optimized for triggering minimal repaints, and when combined with CSS transitions, they can leverage hardware acceleration for smooth visual changes.