One of the main characteristics of React-Bootstrap is "Component-Based". What does this imply?
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: "It enables developers to create modular and reusable UI elements as React components.". Component-Based nghĩa là mỗi thành phần của Bootstrap được cung cấp dưới dạng một component React như Button, Card, Modal: nhận props, tự quản lý trạng thái, có thể ghép lồng nhau và dùng lại ở nhiều nơi, nhờ đó giao diện được chia thành các khối mô-đun dễ bảo trì. "React-Bootstrap only provides components for CSS styling" sai vì component của React-Bootstrap không chỉ tạo kiểu CSS mà còn mang hành vi như mở modal, thu gọn navbar. "It requires custom JavaScript to be written for each component." ngược lại: thư viện đã cài sẵn hành vi bằng React, người dùng không phải viết JavaScript riêng cho từng component. "Components can only be used once in the application" sai vì tính tái sử dụng chính là điểm cốt lõi; một component có thể dùng bao nhiêu lần cũng được.
Cùng phần 3
Which Bootstrap class is commonly used to create a responsive navigation bar?Có lời giảiCâu hỏiFill in the blank in this Bootstrap CSS code to apply a primary button style using React-Bootstrap: import { Button } from 'react-bootstrap'; <Button _______="primary">Click me</Button>Có lời giảiCâu hỏiWhich Bootstrap class provides a fluid container that adapts to all breakpoints?Có lời giảiCâu hỏiCả 36 câu của chủ đề36 câu
Xuất hiện trong 2 bộ đề
Đi tiếp từ đây