Questions tagged [dvajs]
16 questions
0
votes
1 answer
Best practice to fetch sync
Im trying to get the model User which have a relation with Projects.
Here is my models/user.js
*fetchUser({ payload, callback }, { call, put }) {
const user = yield call(queryUser, payload);
yield put({
type: 'setCurrentUser',
…

Pablo Cegarra
- 20,955
- 12
- 92
- 110