Which feature of React Native would you highlight to a client to emphasize cost-effective development?
4 phương ánCó giải thích
Các phương án trả lời
Chọn một phương ánLời giảiChọn phương án để mở
Đáp án đúng: "Code sharing between iOS and Android". Với React Native, phần lớn mã (giao diện bằng component, logic, gọi API, quản lý state) viết một lần bằng JavaScript và chạy trên cả iOS lẫn Android, nên chỉ cần một nhóm phát triển thay vì hai nhóm Swift và Kotlin, giảm chi phí xây dựng và bảo trì; đây là điểm thuyết phục khách hàng về chi phí. "Native performance" là ưu điểm thật vì giao diện dùng thành phần native, nhưng nó nói về trải nghiệm người dùng chứ không trực tiếp về tiết kiệm chi phí. "Limited community support" sai vì đây là điểm yếu chứ không phải ưu điểm, và thực tế cộng đồng React Native rất lớn. "Complex debugging process" sai vì gỡ lỗi phức tạp làm tăng chi phí, không thể đem ra làm điểm mạnh khi chào khách.
Cùng chương 1
Ordering steps in the process of how React Native works in Bridge architecture:
1.The main cable starts working and starts loading JavaScript loads
2.Produces a new DOM (structure) and sends changes to Shadow cable
3.If the JavaScript code is successfully uploaded, the main thread sends it to another JavaScript thread
4.Main thread is able to render something on the screen
5.The shadow string calculates the structure and sends the parameters/properties of the structure to the main sequenceCó lời giảiCâu hỏiReact Native uses the following tech stack to build cross-platform native apps:Có lời giảiCâu hỏiHow does React Native differ from React.js in terms of rendering components?Có lời giảiCâu hỏiCả 54 câu của chủ đề54 câu