Content pfp
Content
@
0 reply
0 recast
2 reactions

Gabriel Ayuso pfp
Gabriel Ayuso
@gabrielayuso.eth
Folks that are so surprised about all these React sites that re-render clearly haven't experienced anything other than React. The problem is not the developer, the problem is that the React model makes it hard to avoid re-rendering everything. This is the Android overdraw overlay on X (native) vs Bluesky (react native). The React model is inefficient. Period.
5 replies
7 recasts
46 reactions

Kartik pfp
Kartik
@slokh
Can you ELI5 what "Android overdraw overlay" is and what I'm looking at with the colors?
1 reply
0 recast
10 reactions

Gabriel Ayuso pfp
Gabriel Ayuso
@gabrielayuso.eth
Overdraw is when a pixel is rendered multiple times on the same frame. Red colors mean excessive overdraw. This is usually caused when you have deep nested views that trigger redraws across.the layout hierarchy. This doesn't map exactly to react re-renders due to state change. There can be many factors at play with such deep nested layout structures.
0 reply
0 recast
8 reactions