Skip to content
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.

Not SSR friendly #3

Open
gruhn opened this issue Aug 16, 2021 · 0 comments
Open

Not SSR friendly #3

gruhn opened this issue Aug 16, 2021 · 0 comments

Comments

@gruhn
Copy link
Owner

gruhn commented Aug 16, 2021

The code accesses browser-only APIs on import such as EventTarget, Blob, etc. This makes the library not SSR friendly. It would be better access browser APIs as late as possible. Maybe on new BarcodeDetector().

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

No branches or pull requests

1 participant