That took up like ALL of my post Covid brain cells. For some reason I could wrap my head around how to get data dynamically in svelte. I tried every attempt possible and pulled my hair for days. Turns out good old fashioned fetch after all.

Now I have QR codes rendering on server side, fetched AFTER user data has loaded on client side.

https://nostrmeet.me/_@jeffg.fyi

Reply to this note

Please Login to reply.

Discussion

Which means I can use actual images (data urls) instead of canvas to render QR codes. Which means … press and hold to save QR to device for printing or sharing on social. Whew.

Wow. Cool QRs!