Skip to content
tezvyn:
Menu

📱Mobile Dev

Mobile app development across platforms

688 bites

Test yourself: Top 30 intermediate Mobile Dev interview questions →Multiple choice, with the correct answer and why it is correct on every question. Free, no sign-in.

Intermediate everything in Mobile Dev, page 4

intermediate1 min read

Axios interceptors for auth headers

Interceptors are hooks that run before requests or after responses, centralizing concerns like auth, logging, and token refresh.

intermediate1 min read

Robust network error handling strategy

Classify errors as 4xx, 5xx, or connectivity; retry transient failures with backoff, surface actionable messages, and check NetInfo.

intermediate1 min read

Redux versus Zustand state management

Redux uses actions, reducers, and a Provider with structured boilerplate; Zustand offers a minimal hook-based store with no provider and selective subscriptions.

intermediate1 min read

Handling async API calls in Redux

Middleware intercepts dispatched actions, Thunk dispatches functions for simple flows, Saga uses generators for complex orchestration.

intermediate2 min read

Redux principles: store, actions, reducers

One store holds all state; actions are plain objects describing what happened; pure reducers compute the next immutable state from current state and action; dispatch drives the cycle.

intermediate1 min read

Context re-renders when unrelated value changes

Every consumer re-renders when the Provider value reference changes, regardless of which field it uses; fix by splitting into separate contexts or memoizing and selecting.

intermediate2 min read

Optimizing FlatList with variable item heights

Implement getItemLayout to return each item's length and cumulative offset so FlatList skips measurement and scrollToIndex works precisely; precompute heights per item type.

intermediate1 min read

Implementing infinite scroll with FlatList

Use onEndReached with onEndReachedThreshold to fetch the next page, append results, and show a footer loader; guard with a loading flag to prevent duplicate fetches.

intermediate1 min read

Re-rendering FlatList on external state change

FlatList is a PureComponent and only checks data and extraData by reference, so pass the external value via extraData and ensure renderItem reads current state.

intermediate1 min read

Diagnosing slow FlatList scroll and blank cells

Memoize renderItem and items, supply getItemLayout for fixed heights, tune windowSize, maxToRenderPerBatch, initialNumToRender, and removeClippedSubviews; profile first.

intermediate1 min read

Setting screen options statically versus dynamically

Options prop on Screen (can read route) versus navigation.setOptions inside the screen for state-driven changes.

intermediate1 min read

Accessing navigation outside a screen component

Use the useNavigation hook inside any component under NavigationContainer; for navigating outside React, use a navigationRef.

intermediate1 min read

Refetching data when a screen gains focus

Use useFocusEffect with a useCallback callback; refetch on focus; clean up to abort stale requests.

intermediate1 min read

Structuring an auth flow in React Navigation

Conditionally render an auth stack versus app stack from state, not navigate calls; store token; let state drive screens.

intermediate1 min read

keyboardShouldPersistTaps in ScrollView

KeyboardShouldPersistTaps controls whether taps dismiss the keyboard or reach children; values never, always, and handled.

intermediate1 min read

Gesture Responder System lifecycle

A single view becomes the responder for a touch; onStartShouldSetResponder claims it at touch start, onMoveShouldSetResponder claims it on movement, then grant, move, and release callbacks fire.

intermediate1 min read

Single useState object for multi-input forms

Hold all fields in one state object, use a generic handler keyed by field name, and update immutably by spreading previous state.

intermediate1 min read

Circular View with centered text

Set equal width and height, borderRadius to half that, then justifyContent and alignItems center to place the Text in the middle.

intermediate1 min read

Using position absolute in React Native

Absolute removes a view from flex flow and positions it relative to its nearest positioned ancestor using top, left, right, bottom; ideal for overlays and badges.

intermediate1 min read

alignItems vs justifyContent in flexbox

JustifyContent aligns along the main axis, alignItems aligns along the cross axis; with column direction main is vertical and cross is horizontal.

We are hiring for this. Every open role lists the topics its interview covers, so you can prepare for the real thing rather than guessing.

See open roles