I have been an Android developer for 5 years, lately, I'm getting my hands on React Native. This is how I feel about it
To be honest, at first, glance seemed to me like an oversimplified layer for building apps. I did keep learning don't judge a book by its cover. So eventually I found out that native code can be used. That is my current endeavor by the way.
The way I see it, a long term project could benefit from shared code and anything troublesome due to the OSS should be native. You don't have to have 2 projects for creating a list of results, but you could benefit from the native implementation if you want to get the user location when the app is closed (I'm thinking on Android here).
Now to the funny thing:
- Ok, I'm gonna install my dependencies... everything fails because my node install was made with
- Ok, now I have uninstalled node and re-install it without
sudo(nvm actually)... I have to reinstall everything now
- Ok so in Android Studio I had this plugin for restarting the app using keyboard shortcuts... and there is none for WebStorm
- Ok so now I figure a couple of commands that will solve this, and now... how do I change the package name?
- Ok so now I changed the package name for Android and IOS to the standard com.subdomain.appname now I'm gonna work... wait typescript seems to have a problem
- Ok so now I have typescript working on my project and now I can work!
- Ok so that last dependency is telling me that
npm audit fix, sure... wait that update react-native version?
- Ok so now I have to solve this new problem with AndroidX (I saw it coming from miles away)... sure let's add the right dependency and then let's add jetifier and...
- Ho! So now I found another error and I can't run my app...
- Ok so, now I'm going to rollback everything and now I'm sure I'm gonna be able to work.... (I'll let you know, I guess)
Regarding the latest problem, I didn't give up and had to figure a way to use the
react-native-cli so you can see my SO answer
PS: I know about live reloading, I'm just improving my dev environment. And yes I know about
--typescript template from the react-native cli, but I forgot about it... mistakes happen ¯_(ツ)_/¯
UPDATE: this was updated shortly after publishing, and then 2 days later