fastify / fastify-dx

Archived
903 stars 43 forks source link

fix(vue): hydration order, ssr performance #32

Closed galvez closed 2 years ago

galvez commented 2 years ago

Averaging 1549 Req/Sec now!

davidmeirlevy commented 2 years ago

I meant to actually use import.meta.env.SSR wherever you want to distinguish between backend and frontend, because in built time it removes frontend-only code from the server bundle, and remove the backend code from the frontend bundle.