Using `Promise.all` to make your app load quicker

In my case half the time it did take!

ACGoff

--

If you use React (or others) for an app that calls a db for data, you will likely already know to use await

It is a shorthand to create a Promise — essentially a link of actions. Read more here: https://www.valentinog.com/blog/await-react/. Promises are native in javascript so no clunky packages or extras to add.

In fact, I was using await regularly in everyhour.xyz as it is so simple, easy and readable.But there was one page…

--

--