bartgryszko / bartgryszko/react-native-circular-progress

fix warning of useNativeDriver

Open
#301 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.2k
Forks
420
PR merge metrics
No merged PRs in 30d

Description

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used [patch-package](https://github.com/ds300/patch-package) to patch `react-native-circular-progress@1.3.3` for the project I'm working on.

Here is the diff that solved my problem:

```diff
diff --git a/node_modules/react-native-circular-progress/src/AnimatedCircularProgress.js b/node_modules/react-native-circular-progress/src/AnimatedCircularProgress.js
index d57de9b..2db5fac 100644
--- a/node_modules/react-native-circular-progress/src/AnimatedCircularProgress.js
+++ b/node_modules/react-native-circular-progress/src/AnimatedCircularProgress.js
@@ -40,6 +40,7 @@ export default class AnimatedCircularProgress extends React.PureComponent {
toValue,
easing,
duration,
+ useNativeDriver: false,
});
anim.start(this.props.onAnimationComplete);

```

This issue body was [partially generated by patch-package](https://github.com/ds300/patch-package/issues/296).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.