Skip to content

[0.79] Align TimerManager sequential ids and function error handling with web standard #962

@kitten

Description

@kitten

Target Branch

0.79

Link to commit or PR to be picked

facebook/react-native@480a464

Description

Calls to create timers should return sequential ids that are greater than zero and should silently reject non-function arguments on setTimeout and setInterval by returning zero to align with the web standard for it.

This is a spec-compliance bug in React Native and is also a regression due to the introduction of TimerManager

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type Pick RequestPick requests to include commits inside a React Native release

    Type

    No type

    Projects

    Status

    Done / Picked

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions