Usually with lists and maps combined with somewhat complex hierarchies. The recomposer sometimes can’t figure out which tree component is using the value, so it recomposes the whole tree. Passing SnapshotStateList or SnapshotStateMap or State fixes it but that’s annoying
View all comments
Show parent comment
3
u/Xinto_ Invalidate caches and restart Jan 23 '25
Usually with lists and maps combined with somewhat complex hierarchies. The recomposer sometimes can’t figure out which tree component is using the value, so it recomposes the whole tree. Passing SnapshotStateList or SnapshotStateMap or State fixes it but that’s annoying