Skip to content

Connectivity status should not waste-render every 400ms #2418

@compulim

Description

@compulim

Version

master

Describe the bug

When putting a console.log() inside the render function of DebouncedConnectivityStatus, it was called every 400 ms due to wasted render.

To Reproduce

As described in the above section.

Expected behavior

It should only render when changed.

Additional context

This is caused by recent React functional component push.

[Bug]

Metadata

Metadata

Assignees

Labels

bugIndicates an unexpected problem or an unintended behavior.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions