-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Help with a React quickstart #86
Comments
Hi Pedro, thank you! For the React example you can use this very repo. There was no point in creating a separate repo for that. In fact it is created using create-react-app. You can check out the vanilla-js example https://github.com/maslick/koder-vanilla-js if you wish. |
This repo doesn't provide a React component in the form of an npm library. Contrary, this repo is an integration example, which you can reuse while building your own QR-code scanner apps. There's an npm package, however, but it only works for node.js server-side apps and Browser apps (see https://github.com/maslick/koder-vanilla-js). |
If you don't want to bother much with all the integrations (WASM, Web workers, Service workers, etc.), and all your web app needs is the ability to scan QR/bar codes, take a look at Kameroon - QR/bar code scanner as a Service https://github.com/maslick/kameroon. There are two demo apps:
Here's some description I gave on how Kameroon works: #81 (comment) |
Your library looks incredible, Mr Maslov! Sorry for looking like a complete moron but I never worked before with wasm and I am a bit too lost trying to implement anything, just make it work with a simple create-react-app type of base. I tried to organize the React component but it looks way too much to try to adapt into a small, working, piece of component.
Would you have any small snippet on how to simply make it work with a React app? Thank you so much!
The text was updated successfully, but these errors were encountered: