JSI In react native

Performance. Performance. Performance. The 'P' word is 'The' area of concern in react native. You must have read about the term JSI if you are at all connected to the circles. What is it? It is a lightweight API that allows React Native developers to communicate directly with the native platform's JavaScript runtime. This means that developers can call native functions from JavaScript, and vice versa. And yes it will help with performance.

JSI is a significant improvement over the previous way of communicating between React Native and the native platform, which was through the Bridge. The Bridge is a layer that sits between the JavaScript and native code, and it is responsible for serializing and deserializing data between the two. This can be a bottleneck, especially for performance-sensitive applications.

JSI eliminates the need for the Bridge, which means that communication between JavaScript and native code is much faster. This can lead to significant performance improvements in React Native applications.

In addition to performance benefits, JSI also makes it easier for React Native developers to access native APIs. This is because developers can call native functions directly from JavaScript, without having to go through the Bridge. This can make it easier to develop native-like features in React Native applications.

It will be an awesome step up when fully finished. Do keep in sync with the developments in the area.

要查看或添加评论,请登录

Nikit P.的更多文章

  • Do we now need LLM compatible programming languages?

    Do we now need LLM compatible programming languages?

    Last year has seen an explosion in the arena of LLMs. They have indeed proven to be very useful.

  • The Disappearing NavBar

    The Disappearing NavBar

    When you are scrolling on the screen on a mobile App, you must have observed this really funky transition where the…

  • Emergent properties

    Emergent properties

    We are going to be hearing about this term time and again in the coming future. What makes ChatGPT so useful is not its…

  • Dismissing partial modals

    Dismissing partial modals

    While you write your awesome UI, there will be times when we will encounter a bunch of external UI libraries and…

  • The native driver Conundrum

    The native driver Conundrum

    In React Native, useNativeDriver is a property that you can set when you are animating elements in your app. It…

  • Optimizing React Native Performance: A Closer Look at Object Literals

    Optimizing React Native Performance: A Closer Look at Object Literals

    React Native has established itself as one of the most popular frameworks for building cross-platform mobile…

  • The power of giving up! *

    The power of giving up! *

    Yes you read that right. Its contrarian to everything you have ever read but hear me out.

    3 条评论
  • CodePush : Reason enough to switch to React Native

    CodePush : Reason enough to switch to React Native

    Any Incremental update to any App is generally subject to approval from the respective ecosystems. If you update your…

  • Understanding React Native performance(part-1)

    Understanding React Native performance(part-1)

    The holy grail of any coding effort is to ensure a code written once runs on every platform : web/iOS/android etc. We…

  • Usain Bolt can't ignore his physical health, then why do you ignore your mental?

    Usain Bolt can't ignore his physical health, then why do you ignore your mental?

    Athletes are the epitome of physical health. There is a tonne that goes on behind the scenes to keep them this way.

社区洞察

其他会员也浏览了