Skip to content

Remove our UseAsPressable implementation, use the one from core #743

@Saadnajmi

Description

@Saadnajmi

https://github.com/microsoft/fluentui-react-native/tree/master/packages/utils/interactive-hooks/src/Pressability

Before RN-Core made Pressable public, we copied the source code of Pressable into FURN and converted it to typescript so we can use it. Now that everything is on RN 0.63, we should delete this.

A caveat. Maybe we should wait till everything downstream is also RN 0.63.

I bring this up because some of our automated Dep bumps fails due to an error In our Pressable copy-pasta, specifically the @types/react bumps.

@JasonVMo as an FYI. I talked about it with him when we updated the repo to RN 0.63, but I didn't end up merging it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions