mohebifar / mohebifar/react-native-copilot
usenativedriver for better animation performance
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 428
- PR merge metrics
- No merged PRs in 30d
Description
Is your feature request related to a problem? Please describe.
The UseNativeDriver flag allows the animations to happen completely on the native side.
https://facebook.github.io/react-native/docs/animations.html#using-the-native-driver
Describe the solution you'd like
A clear and concise description of what you want to happen. Add any considered drawbacks.
When using native driver some properties are no longer animatable. It should be possible to use transforms scale and translate to achieve the desired results (for the animated mask).
Just wondering if this has been considered before. Thanks!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue does not name a file, test, or entry point; start by locating the animated mask implementation and reviewing React Native's native-driver constraints. Done means determining whether the mask can use native-driver-compatible scale and translate transforms, or documenting the remaining blockers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100