Skip to content

Strict Mode console warnings when loading google fonts #99

Description

@seanblonien

When I use the useFonts hook from the @expo-google-fonts/roboto package in React StrictMode, I get these warnings when loading the app:

where that file points to this line of code in the package: node_modules/@expo-google-fonts/roboto/useFonts.js

Versions:
expo: "48.0/18"
expo-font: "11.1.1"
@expo-google-fonts/roboto: "0.2.3"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions