Tunglies
|
475a09bb54
|
feat: comprehensive oxlint cleanup - remove unused code
🧹 Cleanup Summary:
- Fixed 83 oxlint warnings across 50+ files
- Removed unused imports, variables, and functions
- Maintained all functional code and error handling
- Improved bundle size and code maintainability
📝 Key Changes:
- Cleaned unused React hooks (useState, useEffect, useClashInfo)
- Removed unused Material-UI imports (useTheme, styled components)
- Deleted unused interfaces and type definitions
- Fixed spread operator usage and boolean casting
- Simplified catch parameters where appropriate
🎯 Files Modified:
- React components: home.tsx, settings, profiles, etc.
- Custom hooks: use-*.ts files
- Utility functions and type definitions
- Configuration files
✅ Result: 0 oxlint warnings (from 83 warnings)
🔧 All functionality preserved
📦 Reduced bundle size through dead code elimination
|
2025-08-22 18:48:56 +08:00 |
|
Sukka
|
954ff53d9b
|
refactor: use React in its intended way (#3963)
* refactor: replace `useEffect` w/ `useLocalStorage`
* refactor: replace `useEffect` w/ `useSWR`
* refactor: replace `useEffect` and `useSWR`. clean up `useRef`
* refactor: use `requestIdleCallback`
* refactor: replace `useEffect` w/ `useMemo`
* fix: clean up `useEffect`
* refactor: replace `useEffect` w/ `useSWR`
* refactor: remove unused `useCallback`
* refactor: enhance performance and memory management in frontend processes
* refactor: improve pre-push script structure and readability
---------
Co-authored-by: Tunglies <77394545+Tunglies@users.noreply.github.com>
Co-authored-by: Tunglies <tunglies.dev@outlook.com>
|
2025-07-02 23:34:13 +08:00 |
|
wonfen
|
15b117dc15
|
feat: remove cross-platform restriction on WebDAV backup restore
|
2025-04-23 00:48:40 +08:00 |
|
wonfen
|
6e36910734
|
style: adjust
|
2024-11-26 12:11:20 +08:00 |
|
huzibaca
|
922020c57a
|
Merge branch 'fix-migrate-tauri2-errors'
* fix-migrate-tauri2-errors: (288 commits)
# Conflicts:
# .github/ISSUE_TEMPLATE/bug_report.yml
|
2024-11-24 00:14:46 +08:00 |
|
huzibaca
|
67bb242778
|
fix: webdav refreshes data and clears the original data when an error occurs.
|
2024-11-17 23:50:34 +08:00 |
|
huzibaca
|
272ee7577c
|
feat: add refresh button
|
2024-11-13 00:53:52 +08:00 |
|
huzibaca
|
22ce5aab25
|
chore: update deps
|
2024-11-12 19:06:04 +08:00 |
|
huzibaca
|
b5e0374946
|
feat: add webdav backup
|
2024-11-12 02:55:02 +08:00 |
|
huzibaca
|
44cb1c7f3e
|
chore: update
|
2024-11-09 12:13:50 +08:00 |
|
huzibaca
|
19bb9c7f50
|
chore: update
|
2024-11-09 06:56:58 +08:00 |
|
huzibaca
|
f5dee51e9c
|
chore: update
|
2024-11-09 05:50:51 +08:00 |
|
huzibaca
|
c22e4e5e2c
|
chore: update
|
2024-11-08 21:46:15 +08:00 |
|