#17

The Most Important Role of JS Frameworks

2019-08-26

TAGS: reactvuejavascript

My friend Pete passed along this article: The deepest reason why modern JavaScript frameworks exist. Granted, the title is a little questionable, but the thesis raised a good point.

The main problem modern JavaScript frameworks solve is keeping the UI in sync with the state.

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.