Answer the question
In order to leave comments, you need to log in
How to get data from generator function?
There is a generator function
export function* loadInfo(id) {
const requestURL = `some/url`;
return yield call(requestCall, requestURL, {});
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question