React Native

Architecture Patterns

Component architecture, atomic design, feature-based structure, clean architecture, SOLID

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

What is component architecture in a React Native application?

คำตอบ

Component architecture involves structuring the application into reusable and independent elements, each with a single responsibility. This approach promotes code reuse, simplifies unit testing, and improves maintainability. Each component encapsulates its own state, logic, and presentation, enabling complex interfaces to be built from simple, composable building blocks.

2

In the Atomic Design pattern, what are the five component levels from smallest to largest?

คำตอบ

Atomic Design, created by Brad Frost, organizes components into five levels: Atoms (basic elements like Button, Text), Molecules (groups of atoms like SearchInput), Organisms (complete sections like Header), Templates (page layouts) and Pages (template instances with real data). This methodology facilitates the creation of consistent and scalable design systems.

3

What is the main advantage of a feature-based project structure over a file-type-based structure?

คำตอบ

A feature-based structure groups all files related to a functionality in the same folder (components, hooks, services, tests). This improves code cohesion and facilitates navigation since everything related to a feature is in one place. Unlike a type-based structure where files are scattered, this approach reduces context switching and simplifies removing or modifying an entire feature.

4

What does the SOLID 'S' (Single Responsibility Principle) mean when applied to React Native components?

5

In Clean Architecture, which layer contains the application's business rules?

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

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 และตัวจำลองสัมภาษณ์

เริ่มใช้ฟรี