Skip to content

Instantly share code, notes, and snippets.

View gabs086's full-sized avatar
💪
On my way in Professional Development

Gabriel Agoncillo gabs086

💪
On my way in Professional Development
View GitHub Profile
@gabs086
gabs086 / Creating an Expo app in 2023.md
Created December 13, 2023 12:44 — forked from shirakaba/Creating an Expo app in 2023.md
Creating an Expo app in 2023

Creating an Expo app in 2023

12th July, 2023. I'm going to try creating an iOS app called Paranovel, using Expo. My environment for mobile app dev (Xcode, Ruby, etc.) should be in reasonably good shape already as I frequently develop with React Native and NativeScript.

Creating the app

Go to https://docs.expo.dev, and see the Quick Start: npx create-expo-app paranovel

This runs with no problem, then I get this macOS system popup:

@gabs086
gabs086 / async-await-forEach-alternatives.md
Created February 4, 2024 09:58 — forked from joeytwiddle/async-await-forEach-alternatives.md
Do not use forEach with async-await

Do not use forEach with async-await

TLDR: Use for...of instead of forEach() in asynchronous code.

For legacy browsers, use for...i or [].reduce()

To execute the promises in parallel, use Promise.all([].map(...))

The problem