4 ms·
I'm a long term native developer who's been doing react native contacting for the past 6 months. One big issue that you run into is if you need to do long runni
by htormey 10y ago
I'm a long term native developer who's been doing react native contacting for the past 6 months. One big issue that you run into is if you need to do long running background tasks (network polling, bluetooth, music, etc) you basically need to write native code to handle it. Complex animations and non standard view's aren't that bad to implement.
- rorykoehler 10y agoJust about to implement react native app with network polling. Do you have any links/tips to share re best practices?
- htormey 10y agoIf you are just doing polling when your app is in the foreground, you should not have to write any native code. All of the polling can be handled in your actions. If you need to poll in the background when the phones screen is locked, then you will need to write native code. Writing native code to do this isn't that hard (react native docs are good), it's just annoying that you will have duplicate business logic for Android/iOS.