Answer the question
In order to leave comments, you need to log in
Why call yield like this in koa?
Decided to learn koa. I got acquainted with the documentation, decided to look at the examples. Found this here . I can't figure out why to write:
this.body = yield render('list', { posts: posts });
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