Skip to content

RN 0.65.1 + useKeyboard() + Fast Refresh = react-native not available on the unmount #247

Closed
@aforty

Description

@aforty

I just upgraded to RN 0.65.1 and didn't have this problem before but this is also the only library I'm having this issue with.

When I change something in the file and Fast Refresh reloads the file I get the following error where it appears that upon reload react-native is no longer loaded on the unmount in node_modules/@react-native-community/hooks/lib/useKeyboard.js.

Screen Shot 2021-08-26 at 11 52 53

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions