ffmpeg-kit icon indicating copy to clipboard operation
ffmpeg-kit copied to clipboard

React native new architecture

Open arasrezaei opened this issue 3 years ago • 9 comments

Hello, thank you for this great library, As you know, this library has a huge size and greatly impacts startup performance. I want to know are there any plans importing it into turbomodules (new react native architecture)

Thanks.

arasrezaei avatar Sep 02 '22 19:09 arasrezaei

Could you elaborate how turbo modules will decrease the size of the library?

tanersener avatar Sep 02 '22 21:09 tanersener

Could you elaborate how turbo modules will decrease the size of the library?

It will not decrease it, but it will load the module on demand and will not load the module on start up so, the app will start fast... Also JS communicates with native directly through JSI rather than slow serialization bridge... New architecture reduces apps size a bit though (not sure)

arasrezaei avatar Sep 03 '22 03:09 arasrezaei

We want to migrate the React Native plugin to TurboModules but we don't have a due date for it. It's not something we are looking at the moment. We are open for PRs though.

tanersener avatar Sep 03 '22 11:09 tanersener