Iam making an attendance web app with sveltekit and in class managment page, I have list of classes and i want to go to another page to add/edit/delete students to a selected class note: im using prisma sqlite as my database.
can any one tell me if there is a way to redirect from the groups page to student page with the ID of that group as Data
One would usually just use route parameters for that, they will be available in load
as part of the event object and on the page they will be available as part of the page store.
No need to get data
involved, just insert the ID into the URL on redirect.