Repository navigation
Commit 8d41c04
test(mobile): attribute renders to state slots by their update queue
The counter skipped any slot holding a two-element array as a memo recompute,
so a useState holding a pair was reported as a context render. Only
useState, useReducer and store hooks have a queue.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 400dba5 commit 8d41c04
1 file changed
Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
80 | 79 | | |
81 | 80 | | |
82 | 81 | | |
| |||
0 commit comments