r/reactjs • u/timmonsjg • Dec 03 '18
Needs Help Beginner's Thread / Easy Questions (December 2018)
Happy December! βοΈ
New month means a new thread π - November and October here.
Got questions about React or anything else in its ecosystem? Stuck making progress on your app? Ask away! Weβre a friendly bunch. No question is too simple. π€
π Want Help with your Code? π
- Improve your chances by putting a minimal example to either JSFiddle or Code Sandbox. Describe what you want it to do, and things you've tried. Don't just post big blocks of code!
- Pay it forward! Answer questions even if there is already an answer - multiple perspectives can be very helpful to beginners. Also there's no quicker way to learn than being wrong on the Internet.
Have a question regarding code / repository organization?
It's most likely answered within this tweet.
New to React?
π Here are great, free resources! π
38
Upvotes
View all comments
1
u/donttelljoseph Dec 14 '18
I'm creating a react native app (android specifically) for part of my wife's xmas gift. I'm trying to convert some javascript code so that I can use it inside of react native. The javascript draws to a canvas. I'm using https://github.com/iddan/react-native-canvas and here is the javascript in question:
https://github.com/mofosyne/arduino-gameboy-printer-emulator/blob/master/jsdecoder/gbp_gameboyprinter2bpp.js
How do I go about doing this?
First time using react native. I have done some basic python programming in the past and I did take the reactjs courses on codecademy, but that was a while ago and I've pretty much forgotten everything. I really just need a quick hack so I can get this done before xmas. Or just a point in the right direction
Thank you