The Most Important Role of JS Frameworks
So when should you reach for a React or Vue? When you need to keep the state and the UI in sync.
If you don't have state, or the state isn't changing you can get by with Vanilla JS. Anything more, and you're probably better off pulling in React or Vue.