The overhead of going to JS from Wasm these days is very small, and the DOM is relatively slow. So doing DOM operations from Wasm is not much different than from JS; the vast majority of the time is spent in the actual DOM API calls.
So the number of projects where there is enough DOM interaction that WASM will be slow, but not enough that JS is still usable is very small.