feat: add SWR for data fetching with optimistic updates

This commit is contained in:
Developer
2026-03-18 16:16:04 +08:00
parent bd99fc8e81
commit 1f51c330dd
5 changed files with 167 additions and 2 deletions
+2 -1
View File
@@ -11,6 +11,7 @@
"chart.js": "^4.5.1",
"next": "^14.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react-dom": "^18.2.0",
"swr": "^2.4.1"
}
}