React Native is Single-Threaded - Deepstash

React Native is Single-Threaded

Because React Native is single-threaded, if you have a process that has many responsibilities, you can have performance problems. Imagine you have a process responsible for rendering a video on the screen and a live feed of comments on the video. The video rendering could block the live feed from updating correctly, or the live feed could cause stuttering in the video.

7

28 reads

CURATED FROM

IDEAS CURATED BY

sabin

Building @deepstash

TL;DR how threading is working in React Native and the solution of handling data flux for a like button and its counter

Similar ideas to React Native is Single-Threaded

CodeGen & Lean Core

CodeGen — Suppose to make the JS side a Single Source Of Truth. Can let you create static types of the js so the native side (Fabric and Turbo Modules) will be aware to them and avoid validating the data each time => better performance and less place for mistakes when passing data.

Lean Cor...

Setting measurement intervals

The mapping process shows how a scorecard of KPIs provides a predictive performance model when viewed as a map. 

Ensure you have the KPIs measurement intervals. A measurement interval means the time between readings on a KPI. For example, it may be that the input in the cause-and-effect...

How to Use Self-Feedback

How to Use Self-Feedback

Here is a four-step process to help you do it.

  1. Ask yourself. What went well? What could I have improved? Which parts surprised me?
  2. Listen to yourself. For self-feedback to be helpful, it must be heard and valued.
  3. Try something. Now you can te...

Read & Learn

20x Faster

without
deepstash

with
deepstash

with

deepstash

Personalized microlearning

100+ Learning Journeys

Access to 200,000+ ideas

Access to the mobile app

Unlimited idea saving

Unlimited history

Unlimited listening to ideas

Downloading & offline access

Supercharge your mind with one idea per day

Enter your email and spend 1 minute every day to learn something new.

Email

I agree to receive email updates