I don't know if I'm the only one experiencing this: It's too hard to find the download link from their website.
236 karma · joined March 16, 2024
async function runTasks(tasks: Job[]) { for (let task of tasks) { try { await task() } catch (e) { } } }
function f1(a:number, b:number, c:number, d:number) {
[a, b] = [b, a]
[c, d] = [d, c]
console.log(a, b, c, d)
}
For the above codes Typescript gives error message: Type 'number[]' is not assignable to type 'number'.This only happen when every request last 1 second.
I guess it is a dept of error handling. Otherwise you have to write "foo,err1 := Foo();bar,err2 := Bar(),.."
Use "npx create-expo-app@latest --template default@beta" to install new version. Start with production mode, using android device, it takes about 300ms to render 2000 Views. The same test on React web is still much faster.