facn2 / knafeh

news for multiple countries
0 stars 3 forks source link

Could maybe have used a parallel function... #51

Open m4v15 opened 7 years ago

m4v15 commented 7 years ago

Only using two calls so maybe not 100% necessary but you could have done a function like we did in the workshop. Both calls would pass their results to an array which would then be used in one final callback, which would render both the stories and the flags at the same time.

tyeung2017 commented 7 years ago

notes taken. will try it out when there is another chance.