Browse Source
- Update `next.config.ts` to use `stale-while-revalidate` for application HTML shells to improve WebView rendering speed. - Implement immutable caching for static assets in `/assets/fonts/`. - Add `.woff2` versions of various fonts to `public/assets/fonts/` and `public/fonts/` to improve performance and reduce payload size. - Update `globals.css` to prioritize `.woff2` font formats. - Increase `staleTime` from 30s to 3m for various marriage-related queries in `use-form-schema.ts` and client components to reduce redundant network requests. - Refactor `QuestionSheet` to use CSS-based `min-h-[52px]` instead of dynamic inline style calculations for option buttons, improving layout stability and simplifying the component. - Improve loading state handling in `QuestionDetailClient` by incorporating `isPending` from TanStack Query. - Update test assertions in `question-sheet.test.tsx` to reflect the shift from inline styles to Tailwind CSS classes.master
24 changed files with 65 additions and 48 deletions
Loading…
Reference in new issue