mirror of
https://github.com/RSSNext/Folo.git
synced 2026-10-18 13:51:00 +08:00
695ec79f68
- Introduced a mechanism to reset the positioner when the first item in the list changes, ensuring proper layout reflow and preventing overlap. - Utilized `React.useMemo` to derive a stable key for the first item, improving cache management and performance during item updates. These changes enhance the layout stability and performance of the Masonry component, particularly during dynamic item updates.