A
A
AlexanderMul2021-10-25 13:26:40
Vue.js
AlexanderMul, 2021-10-25 13:26:40

What is the best way to implement Middleware for vue 3 + vuex?

There is a vue3 + vuex + axios application.

The ability to write advanced logic for asynchronous actions is very lacking. For example from saga - TakeLeading, TakeLatest, etc.
Ideally, porting the react-saga or a separate saga library for vue. But all the saga-based npm packages that I have seen have not been supported for several years (2-5).

Therefore, there are two questions:
* Is there a working fresh analogue of saga for vue (ideally for vue 3)
* If not, how / what do other vuex users do?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question