mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
The AppShowcase component was re-shuffling apps on every render because useMemo dependencies were unstable (filtered arrays created new references on each render). Fixed by consolidating all filtering and shuffling logic into a single useMemo with only the submissions array as a dependency. This ensures apps only shuffle when submissions data actually changes, not when user types in the text box. Changes: - Moved all filtering logic into single useMemo block - Changed dependency from intermediate filtered arrays to just submissions - Apps now maintain stable order while user types