React Native

Advanced Topics

Code splitting, lazy loading, multi-threading, worklets, custom native views

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

What is the main advantage of code splitting in a React Native application?

คำตอบ

Code splitting reduces the initial bundle size by loading only the code needed at startup. Other modules are loaded on demand, which significantly improves application launch time. This is particularly beneficial for large applications with many features.

2

How to implement lazy loading of a component with React.lazy in React Native?

คำตอบ

React.lazy allows dynamically loading a component by wrapping it with a function that returns a dynamic import. The component must then be wrapped in a Suspense with a fallback to handle the loading state. This approach defers loading heavy components until they are actually needed.

3

What is a worklet in the context of React Native Reanimated?

คำตอบ

A worklet is a JavaScript function executed on the native UI thread rather than the main JavaScript thread. This enables smooth 60fps animations because animation calculations are not blocked by other JavaScript operations. Worklets are identified by the 'worklet' directive at the beginning of the function.

4

In React Native, on which main threads does the application run?

5

What is the difference between useSharedValue and useState for animations with Reanimated?

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

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

JavaScript Essentials

Junior
25 คำถาม

React Fundamentals

Junior
20 คำถาม

React Native Basics

Junior
22 คำถาม

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 คำถาม

App Lifecycle & Background Execution

Mid-Level
20 คำถาม

Authentication & Session Management

Mid-Level
22 คำถาม

Monitoring & Crash Reporting

Senior
20 คำถาม

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

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

เริ่มใช้ฟรี