DevLeonardoCommunity / billsplit

Split expenses when travelling with friends (we're also learning Qwik here)
https://billsplit-project.netlify.app
8 stars 2 forks source link

Pass data between routes in a more Qwik-styled way #11

Open Balastrong opened 9 months ago

Balastrong commented 9 months ago

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.

https://github.com/DevLeonardoCommunity/billsplit/blob/a82be71aea3ed1c24a60c58d725261d2887302d1/src/routes/index.tsx#L18-L28

K1ethoang commented 7 months ago

I think our dont need to do like that, we can set default value for nameand membersCount in /start/[...id]/index.tsx

28