import {FastDomNode} from 'vs.base.browser.stylemutator'; const container = new FastDomNode(document.getElementById('#container')); container.setStyle('background-color', 'red');
import {FastDomNode} from 'vs.base.browser.stylemutator'; const container = new FastDomNode(document.getElementById('#container')); container.batchedUpdates(() => { container.setStyle('background-color', 'red'); container.setStyle('border-width', '2px'); });This example demonstrates how to use FastDomNode's `batchedUpdates` method to make multiple style changes at once. This can help improve performance by reducing the number of times the browser has to reflow the layout. The package library for vs.base.browser.stylemutator FastDomNode is `vscode-web`. This library is developed and maintained by Microsoft and is used in the Visual Studio Code editor for web applications.