Alexandre Moureaux
Tech LeadΒ @
Check out our open-source (github.com/bamlab) and our blog (blog.bam.tech)
Our goal: π€©
Score average: 40/100 β
JS threadlock: 3.5-4s π±
UI thread: ~60 β
Initial Render
RE-Render
vs
NB:
default windowSize
is 21 viewports
type State = {
first: number,
last: number,
};
Score average:
40 -> 52 π
JS threadlock: 3.7 -> 2.8s π
UI thread: ~60 β
Score average: same π
JS threadlock: same π
UI thread: same π
Score average: 70/100 π
JS threadlock: 1s π
UI thread: ~60 β
Text
FlatList code
Memoized Slide
react-native-
snap-carousel
Nesting virtualized lists is TRICKY
Can we avoid it? π€
Score average: 90/100 π₯³
JS threadlock: NONE β
UI thread: ~60 β