mirror of
https://github.com/laoxong/nofx.git
synced 2026-06-07 11:17:56 +08:00
691def7b17
Major improvements: - Replace useState+useEffect with useMemo for better performance - Use timestamp-based grouping instead of cycle_number - Fix data alignment issues when backend resets cycles - Add detailed console logging for debugging - Optimize data merging logic with Map structures Chart updates: - Display sequence number instead of cycle number on X-axis - Improve tooltip to show actual time and sequence - Better handling of multi-trader data synchronization - More reliable data point matching across traders Performance: - Reduce unnecessary re-renders with useMemo - More efficient data processing with Maps - Better dependency tracking in hooks Co-Authored-By: tinkle-community <tinklefund@gmail.com>