Parallel font loading

(cherry picked from commit 10e2b05b575bbbf8b0ca5b4a336817cd902d712b)
This commit is contained in:
Eric Bailey
2024-09-18 19:34:25 -05:00
parent cbc7cd0808
commit a6ea8fb57b
21 changed files with 290 additions and 12 deletions
+8
View File
@@ -0,0 +1,8 @@
export function useFonts() {
/**
* For native, the `expo-font` config plugin embeds the fonts in the
* application binary. But `expo-font` isn't supported on web, so we fall
* back to async loading here.
*/
return [true, null]
}