Files
Netcatty/components
bincxz 77a80f6dcb perf: only force reload when filenameEncoding changes
The useEffect that triggers loadFiles with force:true was running on
every navigation because currentPath was in its dependencies. This
caused redundant SFTP list calls that bypassed caching.

Now we track the previous encoding with a ref and only force reload
when filenameEncoding actually changes, not on every path change.
Regular navigation still works through useSftpModalSession's own
path change handling.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-22 03:52:52 +08:00
..
2026-01-21 23:13:31 +08:00
2026-01-21 23:13:31 +08:00
2026-01-21 23:13:31 +08:00
2026-01-21 23:13:31 +08:00