Currently name and size are passed from the home to the bill page with sessionStorage, there should be a more Qwik-styled way to do it.
|
const onStart = $(() => { |
|
sessionStorage.setItem( |
|
"NEWBILL", |
|
JSON.stringify({ |
|
name: "Untitled Bill", |
|
membersCount: 3, |
|
}), |
|
); |
|
|
|
nav("/start"); |
|
}); |
Currently name and size are passed from the home to the bill page with sessionStorage, there should be a more Qwik-styled way to do it.
billsplit/src/routes/index.tsx
Lines 18 to 28 in a82be71