RT.
在 rn 开发中,react 与 oc 的代码占比是多少?需要懂 oc 吗?
天蓬老师2017-05-02 09:35:52
The purpose of RN is to facilitate front-end development to develop apps without knowing OC.
After you understand OC, you generally won’t use RN to develop, at least I don’t.
習慣沉默2017-05-02 09:35:52
The advantage of RN is that it is cross-platform and can be used on android, ios, and mobile h5 with relatively few code changes.
RN is mainly about view interaction & backend service calling. In fact, this is what most client applications need to do.
Of course, object-c is still required for web security factors, such as accessing app storage, network conditions, GPS positioning information, etc. However, it only accounts for a small proportion, but it still needs to be learned. However, views and http communication do not need to be learned in depth.