In complex Vue.js applications, business and UI logic can become so coupled that your code will be almost too difficult to understand. Separate your concerns, and avoid the UI/business logic mess before it happens.
Web components are part of the native web platform. But wouldn't it be nice if we could write Vue components and ship web components, therefore getting all the convenient features of the Vue framework?
Test-Driven Development is one of the best ways to ensure that components don't let our users down and bugs don't run rampant. In this article, you'll learn how to build a Vue widget in isolation using Storybook and TDD with Jest.