Skip to content

[Bug]: Reusing Logic with Custom Hooks docs example doesn't work with firefox #7088

Open
@marcadrian-it

Description

@marcadrian-it

Summary

On Firefox, for example with the code snippet that adds the event listener for 'online/offline' events. When the user goes offline, no event is triggered. In contrast to the Chromium browser, where everything works as expected. I'm curious why, given that both browsers support Navigator.onLine

Page

https://react.dev/learn/reusing-logic-with-custom-hooks

Details

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions