This is a proof of concept for showing how you can expose loader functions from your components to use in your routes.
This package makes it simple to use Zod with standard URLSearchParams and FormData which are typically used in Remix apps.
Sample showing how to use superjson in your Remix app and full fidelity types with inference
Remix example showing how to ensure the Suspense fallback is rendered on route change
This package is a replacement for superjson to use in your Remix app. It handles a subset of types that `superjson` supports, but is faster and smaller.