20 ms·
recently there was a twit how GitHub PR diffs had 10 React components PER LINE. And how they optimized that to only 2 React components per line or something. >
by dist-epoch 6mo ago
recently there was a twit how GitHub PR diffs had 10 React components PER LINE. And how they optimized that to only 2 React components per line or something.
> To summarize, for every v1 diff line there would be:
> - Minimum of 10-15 DOM tree elements
> - Minimum of 8-13 React Components
> - Minimum of 20 React Event Handlers
> - Lots of small re-usable React Components
https://github.blog/engineering/architecture-optimization/the-uphill-climb-of-making-diff-lines-performant/ https://github.blog/engineering/architecture-optimization/th...
- bananapub 6mo agoI'm asking about the infrastructure, obviously they chose for some reason to make my computer fans turn on to show some red and green lines on a text file.
- dist-epoch 6mo agoterrible frontend architecture suggests poor engineering culture which typically spreads to all teams, including the infrastructure team