An Interest In:
Web News this Week
- March 30, 2024
- March 29, 2024
- March 28, 2024
- March 27, 2024
- March 26, 2024
- March 25, 2024
- March 24, 2024
Working with React Native feels like Malcolm in the Middle father's changing a lightbulb
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
sudo
- Ok, now I have uninstalled nodeand 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!
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 _()_/
Original Link: https://dev.to/cutiko/working-with-react-native-feels-like-malcolm-in-the-middle-father-s-changing-a-lightbulb-4ni8
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To