React NativeState Management

104 items

1

RTK Query: shared cache and request dedup

Quiz
2

Optimistic Updates with Rollback

Flashcard
3

Server vs Client vs Persisted State

Flashcard
4

createSlice and Immer: RTK vs Plain Redux

Flashcard
5

RTK Query: shared cache and request dedup

Flashcard
6

RTK Query Basics: createApi and Cache Tags

Quiz
7

RTK Query Basics: createApi and Cache Tags

Flashcard
8

Counter with useEffect Bug

Code Quiz
9

useState & useEffect Basics

Quiz
10

useState & useEffect in RN

Slides / Video
11

useState & useEffect in RN

Flashcard
12

MVVM ViewModel State Mutation Bug

Code Quiz
13

useState Hook Basics

Code Quiz
14

Context Performance Pitfalls & Re-renders

Slides / Video
15

Lifting State Up

Quiz
16

useReducer for Complex Logic

Quiz
17

Global State Libraries Overview

Quiz
18

Functional Updates with Previous State

Quiz
19

State vs Props Distinction

Quiz
20

Redux Core Concepts

Quiz
21

useEffect for Side Effects

Quiz
22

Avoiding Unnecessary Re-renders

Quiz
23

Controlled TextInput State

Quiz
24

useState Hook Fundamentals

Quiz
25

useRef for Mutable State

Quiz
26

useContext Hook Consumption

Quiz
27

Redux Toolkit Slices

Quiz
28

Context API for Shared State

Quiz
29

Immutable State Updates

Quiz
30

Managing Derived State

Quiz
31

Persisting State with AsyncStorage

Quiz
32

Preserving and Resetting State

Quiz
33

State Updates Are Asynchronous

Quiz
34

Memoizing Derived Values

Quiz
35

Context Provider Re-render Pitfalls

Quiz
36

useState vs useReducer

Quiz
37

Creating and Providing Context

Slides / Video
38

useContext Hook Basics

Slides / Video
39

Context API for Global State

Slides / Video
40

The Prop Drilling Problem

Slides / Video
41

Lifting State Up to Share Between Components

Slides / Video
42

useReducer for Complex State Logic

Slides / Video
43

useState Hook for Local Component State

Slides / Video
44

Custom Hooks for Reusable Stateful Logic

Slides / Video
45

useEffect for Syncing State with Side Effects

Slides / Video
46

Persisting State with AsyncStorage

Slides / Video
47

Async State & Data Fetching Patterns

Slides / Video
48

Choosing Local, Context, or External Store

Slides / Video
49

Zustand as a Lightweight State Library

Slides / Video
50

useSelector & useDispatch Hooks

Slides / Video
51

Actions, Reducers, and Dispatch

Slides / Video
52

useEffect for State Sync

Code Quiz
53

useReducer for Complex State

Code Quiz
54

Lifting State Up

Code Quiz
55

Functional State Updates

Code Quiz
56

useMemo for Derived Values

Code Quiz
57

useContext Hook Consumption

Code Quiz
58

Updating Object State

Code Quiz
59

useCallback for Stable Handlers

Code Quiz
60

Lazy Initial State

Code Quiz
61

Batching of State Updates

Code Quiz
62

Stale Closure in Updates

Code Quiz
63

useRef for Non-Rendering State

Code Quiz
64

Context API for Global State

Code Quiz
65

Updating Array State

Code Quiz
66

Context Provider Value Setup

Code Quiz
67

Passing State Down via Props

Code Quiz
68

Passing Setters as Callbacks

Code Quiz
69

Multiple vs Single State Object

Code Quiz
70

Dispatching Actions

Code Quiz
71

Derived State from Props

Code Quiz
72

Redux Toolkit for Simplified Setup

Slides / Video
73

Redux Fundamentals & Store Concept

Slides / Video
74

Functional Updates with Previous State

Slides / Video
75

useRef for Mutable State

Flashcard
76

Batching of State Updates

Flashcard
77

Redux Toolkit Setup

Flashcard
78

useReducer for Complex State

Flashcard
79

State vs Props

Flashcard
80

Creating and Consuming Context

Flashcard
81

useSelector and useDispatch

Flashcard
82

Immutability When Updating State

Flashcard
83

Derived State and Selectors

Flashcard
84

Functional Updates

Flashcard
85

Sharing State Across Screens

Flashcard
86

Custom Hooks for Stateful Logic

Flashcard
87

Zustand Lightweight State

Flashcard
88

Persisting State with AsyncStorage

Flashcard
89

Context Performance Pitfalls

Flashcard
90

Redux Core Concepts

Flashcard
91

Lifting State Up

Flashcard
92

Context API for Global State

Flashcard
93

Server State with React Query

Flashcard
94

Provider Placement and Composition

Flashcard
95

Prop Drilling Problem

Flashcard
96

Avoiding Stale Closures

Flashcard
97

Redux Persist Rehydration

Flashcard
98

Choosing State Scope

Flashcard
99

MobX Observable State

Flashcard
100

Recoil and Jotai Atoms

Flashcard
101

Async Updates with useEffect

Flashcard
102

Immutability in State Updates

Slides / Video
103

State vs Props Distinction

Slides / Video
104

useRef for Non-Rendering State

Slides / Video
QuizIntermediate

RTK Query: shared cache and request dedup

RTK Query dedupes identical in-flight requests and shares one cache entry across all components using the same query.

Three separate components each call useGetUserQuery(5) at the same time on first render. How many network requests does RTK Query make by default?