Comment

Comment by bryanlarsen

or

    async function getPeople() {
      const membersPromise=fetch("/members");
      const nonmembersPromise=fetch("/non-members");
      return [].concat(await membersPromise, await nonmembersPromise);
    }
edited to fix typo spotted by lhorie. thanks.
parent bryanlarsen 6 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton