| #
47648272 |
| 09-Aug-2023 |
Douglas Lowder <[email protected]> |
[expo-font][docs] Examples should include error handling (#23868)
Our examples of `useFonts()` usage do not include error handling.
Because of this, a customer can have trouble debugging the proble
[expo-font][docs] Examples should include error handling (#23868)
Our examples of `useFonts()` usage do not include error handling.
Because of this, a customer can have trouble debugging the problem if
there is an error in loading fonts -- in our examples, the splash screen
will never hide. (See https://github.com/expo/expo/issues/21885 for such
an issue.)
I've updated the examples to show correct error handling.
# Checklist
<!--
Please check the appropriate items below if they apply to your diff.
This is required for changes to Expo modules.
-->
- [x] Documentation is up to date to reflect these changes (eg:
https://docs.expo.dev and README.md).
- [x] Conforms with the [Documentation Writing Style
Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)
- [x] This diff will work correctly for `npx expo prebuild` & EAS Build
(eg: updated a module plugin).
show more ...
|