Compose: @Immutable missing on PostRecord, Facet, FacetIndex, FacetFeature #40
Labels
No labels
auth
bug
composer
correctness
database
durability
enhancement
feeds
interactions
notifications
performance
reliability
safety
security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starsetbyte/peregrine#40
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
PostRecord,Facet,FacetIndex, andFacetFeatureare all-val data classes passed to Compose but lack@Immutable. Project convention (from CLAUDE.md) says all stable data classes passed to Compose carry@Immutable— without it, Compose cannot skip recomposition during scroll.Fix
Added
@Immutableannotation to all four classes inFeedModels.kt.Fixed in PR #36.