Links prefetching (#225)

1. Marketing Layout: speed up rendering by retrieving user session from cookies instead of using server side request
2. Use "redirecting" state when signing in to keep displaying a loading state while Next.js redirects to home page
3. Use "useCallback" to prevent double tracking when switching pages
4. Add links pre-fetching in marketing navigation
5. Add new pending state to MFA verification form
6. Pre-fetch sign-in/sign-up pages
7. Fix i18n when using regional languages
8. currency formatter should default to the region if it exists
9. Update packages
This commit is contained in:
Giancarlo Buomprisco
2025-03-31 10:06:37 +07:00
committed by GitHub
parent 7c4dd23e5d
commit 7a1903d0c2
35 changed files with 1685 additions and 1667 deletions

View File

@@ -33,7 +33,7 @@
"clsx": "^2.1.1",
"cmdk": "1.1.1",
"input-otp": "1.4.2",
"lucide-react": "^0.484.0",
"lucide-react": "^0.485.0",
"react-top-loading-bar": "3.0.2",
"recharts": "2.15.1",
"tailwind-merge": "^3.0.2"
@@ -43,7 +43,7 @@
"@kit/prettier-config": "workspace:*",
"@kit/tsconfig": "workspace:*",
"@radix-ui/react-icons": "^1.3.2",
"@tanstack/react-query": "5.69.2",
"@tanstack/react-query": "5.70.0",
"@tanstack/react-table": "^8.21.2",
"@types/react": "19.0.12",
"@types/react-dom": "19.0.4",
@@ -54,7 +54,7 @@
"next-themes": "0.4.6",
"prettier": "^3.5.3",
"react-day-picker": "^8.10.1",
"react-hook-form": "^7.54.2",
"react-hook-form": "^7.55.0",
"react-i18next": "^15.4.1",
"sonner": "^2.0.2",
"tailwindcss": "4.0.17",