course

Vuex validation strategies

Validating directly from your API can become repetitive. In this course, we go through several refactors and end up with a solution that displays validation errors without any additional work.

Watch this course

1. Everything inside of a component

07:51

2. Returning a promise from a Vuex action

07:08

3. Clearing up by chaining promises

10:25

4. Using a global module state

06:11

5. Axios interceptors

06:35

6. Clearing validation with a router hook

05:23
  • 43 mins
  • Released 1 year ago