Qwik City Route Loader Serialization Limit for Client Data
Goal Return data from a Qwik City route loader and consume it in a client component with useLoaderData without re-running the loader. Constraint Loader return values are serialized into the rendered HTML during SSR or SSG. Only JSON-serializable values survive that boundary. Functions, class instances, database connections, open streams, and similar server-o