mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-20 02:56:10 +00:00
ee79413653
The rail's list ref was an inline function that set state. React 19 detaches and re-attaches a ref whose function changed, so every commit set the list to null and back and asked for one more render of the rail. The ref is one function for the rail's lifetime now.