Which command is used to check the installed version of NPM?
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: "npm -v". npm là trình quản lý gói đi kèm Node.js; cờ -v (viết đầy đủ là --version) in số phiên bản npm đang cài, giúp kiểm tra môi trường trước khi tạo hay cài dự án React Native. "node -v" sai vì lệnh này in phiên bản của Node.js, không phải của npm; hai số này khác nhau vì npm có chu kỳ phát hành riêng. "npm --ver" sai vì npm không có cờ --ver; cờ đúng là --version hoặc -v. "node --version" cũng chỉ in phiên bản Node.js, nó là cách viết đầy đủ của node -v nên không trả lời được câu hỏi về npm. Khi chuẩn bị môi trường nên kiểm tra cả hai: Node.js đủ mới theo yêu cầu của React Native, và npm tương ứng để cài các gói.
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