Closed pixelmund closed 2 years ago
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/svemix/svemix/AZSzoVpo9u1SgvGkcjj7RREc8Wz5
✅ Preview: Canceled
This PR implements a Svemix Context, the context is created by transforming the generated root.svelte file from
SvelteKit
, so we have to make sure to update this if something changes in Kit.We're now having access to the
loaderData
andactionData
from any component via the newgetLoaderData
andgetActionData
functions in the app which is kinda neat. The old way is ofc still supported.Example: