feat: [React Compiler] Allow to customise reanimated library import name#82
feat: [React Compiler] Allow to customise reanimated library import name#82everettbu wants to merge 1 commit into
Conversation
Greptile OverviewGreptile SummaryExtends React Compiler's reanimated support to work with custom wrapper libraries around
This change is straightforward and well-implemented. The use case is clear: developers who wrap reanimated to conditionally disable animations on low-end devices can now use the React Compiler with their custom wrapper. Confidence Score: 5/5
Important Files ChangedFile Analysis
|
|
This pull request has been automatically marked as stale. If this pull request is still relevant, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize reviewing it yet. Your contribution is very much appreciated. |
|
Closing this pull request after a prolonged period of inactivity. If this issue is still present in the latest release, please ask for this pull request to be reopened. Thank you! |
Mirror of facebook/react#32568
Original author: retyui
Summary
In our code I use a custom wrapper around
react-native-reanimatedto be able to turn off animation on low-end devisesso when reanimated hooks will be imported from a non
react-native-reanimatedmodulethe compiler will apply own optimisations and a reanimated babel plugin won't transforms code correctly
How did you test this change?
locally