Skip to content

Server rendering QR code #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
supra28 opened this issue Jan 25, 2023 · 2 comments
Open

Server rendering QR code #2

supra28 opened this issue Jan 25, 2023 · 2 comments

Comments

@supra28
Copy link

supra28 commented Jan 25, 2023

Whats the issue with server rendering QR code?
Can you point me in the right direction? I'd like to help.

@kryops
Copy link
Owner

kryops commented Jan 25, 2023

Hi @supra28,

the underlying issue is Svelte not supporting async server rendering:

@kryops kryops closed this as completed Jan 25, 2023
@kryops kryops reopened this Jan 25, 2023
@kryops
Copy link
Owner

kryops commented Jan 25, 2023

Sorry, fat fingers...

sveltejs/svelte#958

The QR code library I picked is async only: soldair/node-qrcode#193

So the way to go would probably be to find a synchronous library that supports all the required features, or contribute a synchronous API to the qrcode library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants