Pantrypoints Pantrypoints

Basics

January 6, 2025 1 minutes  • 43 words
Table of contents

Sveltekit does:

  1. Routing
  2. Loading
  3. Rendering

Loading

export function load({params}) {
	const post = posts.find((post) => post.slug == params.slug);

	return { post };
}

Form

export const actions = {
	default: async ({ cookies, request}) => {
		const data = await request.data();
	}
}
Follow Us! →

We're creating a new Economic System from a new Economic Science! Please support us by leaving your email or leaving a comment above.