I'd like to interject for a moment. Before using vanilla-js, have you tried Svelte, the magical disappearing UI framework? It compiles/transpiles your JavaScript to... vanilla JavaScript and it literally "solves the JavaScript bloat crisis".
Someone on hackernews said it would be the future!