Location>code7788 >text

(Zero) React Native Project Development Gleanings

Popularity:391 ℃/2024-09-07 01:56:31

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 Nativeand 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 (AndroidiOS etc.) development base, it's still hard to go deeper. Usually get stuck on these questions below:

  1. The setup and modification of development environments may involveJDKMavenRubyGemsCocoaPods etc;
  2. Android cap (a poem)iOS Some configurations of the project, such asPodfile etc;
  3. Android Studio cap (a poem)XCode The use of;
  4. Android cap (a poem)iOS Modifications to the native code, includingJava/Kotlin cap (a poem)Objective-C/Swift
  5. C/C++ Handling of source code compilation issues;
  6. The use of command line tools such asShell Scripting,ADB The use of,react-native run-* Use of commands, etc;
  7. The use of debugging tools such asFlipperDevToolsReactotron etc;
  8. Various native related triple library dependency issues are handled;
  9. 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.