react-native-ui-kitten icon indicating copy to clipboard operation
react-native-ui-kitten copied to clipboard

Library should be over UI thread not JS

Open Haseeba393 opened this issue 4 years ago • 1 comments

🚀 Feature Proposal

I'm using this library the first time in my react native application. I have implemented some components of this library on one screen .i.e. Autocomplete, date picker, select, radio and checkbox. On idle state, the JS FPS is 60 but when I use any of the components the FPS drops to 25-30. I request you to please improve it by implementing the latest reanimated 2 libraries for smooth UI.

Motivation

I really like the components and documentation that you have provided for it but I dislike its performance for native devices. It is not smooth. As I have used reanimated as well as animated API with native driver and implemented a lot of animations of one screen but didn't drop JS FPS and the animation and clicking are so smooth. So that's why I recommend you to please work on it. Thank you

Example

For example, for toggle, you can use reanimated 2 API with the native driver. So that it will use UI thread not the JS thread to make the UI smooth.

Haseeba393 avatar Aug 27 '20 07:08 Haseeba393

It would be great! I am trying to animate the height of the Select container, but frame drops when the options container appear

gabimoncha avatar Oct 21 '21 17:10 gabimoncha