react-native-community/hooks

Deprecated API

retyui opened this issue · 6 comments

Do you have any ideas on how to support the next hooks as they are deprecated or removed?

Shell we will mark them as @deprecated too (using comments), or add info in the README file?

useCameraRoll

CameraRoll was removed in React Native 0.61.x

image

useClipboard

Clipboard marker as deprecated, but not deleted yet (see master)

image

Yeah, this is interesting. Potentially the best way is to try and contribute the hooks upstream, to the new repositories! Then we would also deprecate them in this repository...

So, I can create PR to cameraroll repo, and when it will be accepted we can "deprecate them in this repository"

So, I can create PR to cameraroll repo, and when it will be accepted we can "deprecate them in this repository"

That would be amazing! ❤️

@LinusU I think now we can deprecated them, PR fro useCameraRoll was merged

Great! Could you submit a PR that adds the deprecation? 🙏