Commit
Refactor loaders and meta functions to use ClientLoader types
Commit details
Commit notes
- Update loaders in `loaders.ts` to replace `LoaderFunctionArgs` with `ClientLoaderFunctionArgs` for improved type safety. - Modify `meta` functions in `root.tsx` and `index.tsx` to utilize `clientLoader`, aligning with SPA mode requirements. - Remove unused Netlify plugin from `vite.config.ts` to streamline the configuration.
This update enhances type consistency and prepares the codebase for better client-side rendering support.
- Files changed
- 4
- Lines added
- +17
- Lines removed
- −18