A departing front-end coworker who recently took on aReact Native
I have encountered a lot of problems that I could not solve, so I asked for my help to "make up" (without systematic study).React Native
and also does not have a nativeAndroid
cap (a poem)iOS
(Development Basics).
Previously brought another front-end coworker in to get startedReact Native
Development, there is a period of time and even have to spend one or two hours a day, dedicated video link hand in hand to help solve a variety of difficult problems.
This is probably the biggest headache for pure front-end developers who are just starting out in APP development. Whether it'sReact Native
neverthelessFlutter
, although they all claim to be cross-platform development, without the appropriate platform (Android
、iOS
etc.) development base, it's still hard to go deeper. Usually get stuck on these questions below:
- The setup and modification of development environments may involve
JDK
、Maven
、Ruby
、Gems
、CocoaPods
etc; -
Android
cap (a poem)iOS
Some configurations of the project, such as、
、
、
Podfile
etc; -
Android Studio
cap (a poem)XCode
The use of; -
Android
cap (a poem)iOS
Modifications to the native code, includingJava
/Kotlin
cap (a poem)Objective-C
/Swift
; -
C/C++
Handling of source code compilation issues; - The use of command line tools such as
Shell
Scripting,ADB
The use of,react-native run-*
Use of commands, etc; - The use of debugging tools such as
Flipper
、DevTools
、Reactotron
etc; - Various native related triple library dependency issues are handled;
- Handling of problems caused by various caches;
In addition, one may encounter such things asVery slow switching/clicking response, screen lagsand other issues.It doesn't feel as silky as the original. Many people will blame it on being non-native, however most of the time this is not the case. Most likely, it is due to the fact that you do not understand the corresponding principles, which leads to writing code that executes too inefficiently. This is a common problem for a large portion of pure front-end peeps.
Time and energy permitting, some appropriate problem solving will be documented here.