React NativeIntroduction & Setup

45 items

1

Structuring a Large React Native App: Feature Folders and Monorepos

Flashcard
2

Feature Module Dependency Inversion Leak

Code Quiz
3

Expo vs React Native CLI

Slides / Video
4

Android Studio & Xcode Setup

Slides / Video
5

Creating a Project with the CLI

Flashcard
6

Fast Refresh in React Native

Slides / Video
7

Creating a Project with React Native CLI

Slides / Video
8

Cross-Platform Development

Quiz
9

React Native vs Native

Quiz
10

React Native Prerequisites

Quiz
11

Entry Point and App Component

Quiz
12

React Native vs React Web

Quiz
13

What React Native Is

Quiz
14

Creating a Project with Expo

Quiz
15

Expo vs React Native CLI

Quiz
16

Metro Bundler Role

Quiz
17

How React Native Renders

Quiz
18

Running the App

Quiz
19

Creating a Project with CLI

Quiz
20

Fast Refresh

Quiz
21

Project Folder Structure

Quiz
22

The Metro Bundler's Role

Slides / Video
23

Default Project Structure & Key Files

Slides / Video
24

Running Your App: Emulator, Simulator, Device

Slides / Video
25

Setting Up a Project with Expo

Slides / Video
26

Dev Environment Prerequisites

Slides / Video
27

React Native vs React vs Native

Slides / Video
28

Cross-Platform Development

Flashcard
29

React Native CLI Environment Setup

Flashcard
30

Metro Bundler

Flashcard
31

Running on an Emulator

Flashcard
32

Fast Refresh

Flashcard
33

What React Native Is

Flashcard
34

React Native vs Hybrid Apps

Flashcard
35

Node.js Prerequisite

Flashcard
36

Expo vs React Native CLI

Flashcard
37

React Native vs React

Flashcard
38

Creating a Project with Expo

Flashcard
39

Package Management

Flashcard
40

Project Folder Structure

Flashcard
41

React Native vs Native Development

Flashcard
42

App Entry Point

Flashcard
43

Developer Menu and Debugging

Flashcard
44

Running on a Physical Device

Flashcard
45

What React Native Is

Slides / Video
Code Quiz

Feature Module Dependency Inversion Leak

A React Native feature module quietly couples its domain logic to a concrete infrastructure class, breaking the architectural boundary.

Codetypescript
// features/cart/domain/CartService.ts
import { StripePaymentApi } from '../../payment/infrastructure/StripePaymentApi';

export interface PaymentGateway {
  charge(amount: number): Promise<void>;
}

export class CartService {
  private readonly payment: PaymentGateway;

  // Domain service accepts an abstraction so it can be tested/swapped
  constructor(payment: PaymentGateway = new StripePaymentApi()) {
    this.payment = payment;
  }

  async checkout(total: number): Promise<void> {
    if (total <= 0) throw new Error('Invalid total');
    await this.payment.charge(total);
  }
}

This domain service is meant to depend only on abstractions. What breaks the layered/modular architecture here?