HACKER Q&A
📣 csmeyer

Difficulty of porting a web app to iPad with React Native?


I have a reasonably complicated single page app written in React (pickcode.io) and I'm looking to port it to iPad using React Native. What are the major pitfalls in doing a port like this? It seems relatively simple but I'd love to hear anyone's experiences before I dive in.


  👤 ecesena Accepted Answer ✓
I'd recommend to check out and experiment with expo.io. In principle you can use RN also for web and android tablets. The reality will be a bit different, but I guess mostly depends on what 3p libraries and device features you need.

If I recall correctly it's also pretty straightforward to maintain parts of the code for a specific architecture, like component.ios / component.web - expo (or RN, I don't know tbh) handles the correct packaging.

Good luck, and please share out it goes.