React Native

React Native Basics

View, Text, Image, ScrollView, FlatList, StyleSheet, Flexbox layout

22 คำถามสัมภาษณ์·
Junior
1

What is the basic component used to create containers in React Native?

คำตอบ

The View component is the fundamental container in React Native, equivalent to a div in HTML. It allows grouping other components, applying styles, and managing layout via Flexbox. Unlike web, React Native uses View instead of div because it must be translated to native components (UIView on iOS, android.view on Android).

2

What is the main difference between Text and View in React Native?

คำตอบ

The Text component is the only component capable of displaying text in React Native. Unlike the web where any element can contain text, React Native requires all text to be wrapped in a Text component. View cannot contain raw text directly - attempting to do so generates an error.

3

How to display a local image in React Native?

คำตอบ

To display a local image in React Native, use the Image component with the source prop and the require() function. This approach allows the Metro bundler to resolve the image path at build time and optimize assets. Remote images use an object with a uri property instead.

4

Which property is required to display a remote image (URL) with the Image component?

5

What is the main difference between ScrollView and FlatList?

+19 คำถามสัมภาษณ์

หัวข้อสัมภาษณ์ React Native อื่นๆ

JavaScript Essentials

Junior
25 คำถาม

React Fundamentals

Junior
20 คำถาม

React Hooks

Junior
20 คำถาม

TypeScript for React & React Native

Junior
22 คำถาม

React Native Components & API

Junior
20 คำถาม

React Native Styling & Layout

Junior
18 คำถาม

React Native Navigation

Mid-Level
22 คำถาม

React Native State Management

Mid-Level
24 คำถาม

React Native Networking & API

Mid-Level
20 คำถาม

Data Persistence

Mid-Level
20 คำถาม

Forms & Validation

Mid-Level
18 คำถาม

React Native Animations

Mid-Level
22 คำถาม

Native Modules & Bridge

Mid-Level
20 คำถาม

Platform-Specific Code

Mid-Level
18 คำถาม

Permissions & Device APIs

Mid-Level
20 คำถาม

Push Notifications

Mid-Level
18 คำถาม

React Native Testing

Mid-Level
20 คำถาม

React Native Debugging

Mid-Level
18 คำถาม

Build & Deployment

Mid-Level
20 คำถาม

Expo vs React Native Bare

Mid-Level
18 คำถาม

Performance Optimization

Senior
24 คำถาม

Memory Management

Senior
20 คำถาม

Architecture Patterns

Senior
22 คำถาม

React Native New Architecture

Senior
24 คำถาม

Security Best Practices

Senior
20 คำถาม

Offline-First Architecture

Senior
20 คำถาม

React Native CI/CD

Senior
20 คำถาม

Monorepo & Code Sharing

Senior
18 คำถาม

Advanced Topics

Senior
22 คำถาม

App Lifecycle & Background Execution

Mid-Level
20 คำถาม

Authentication & Session Management

Mid-Level
22 คำถาม

Monitoring & Crash Reporting

Senior
20 คำถาม

เชี่ยวชาญ React Native สำหรับการสัมภาษณ์ครั้งถัดไป

เข้าถึงคำถามทั้งหมด flashcards แบบทดสอบเทคนิค แบบฝึกหัด code review และตัวจำลองสัมภาษณ์

เริ่มใช้ฟรี