React Native

React Native Components & API

TouchableOpacity, TextInput, Modal, ActivityIndicator, Platform, Dimensions, StatusBar

20 питань зі співбесід·
Junior
1

Which component should be used to create a simple button with a transparency effect on touch?

Відповідь

TouchableOpacity is the standard component for creating buttons with a visual transparency effect on touch. When the user presses it, the content opacity temporarily decreases, providing immediate visual feedback. It's the most commonly used component for simple touch interactions in React Native.

2

Which TextInput prop allows hiding the entered text, useful for password fields?

Відповідь

The secureTextEntry prop hides the entered text by displaying dots or asterisks instead of characters. This is the standard method for creating secure password fields in React Native. When enabled, text is not visible on screen and clipboard is typically disabled for security reasons.

3

How to retrieve the value entered in a TextInput in a controlled manner?

Відповідь

A controlled TextInput combines the value prop with the onChangeText callback. The value prop defines the displayed text and is linked to a React state. onChangeText is called on each modification with the new value, allowing state updates. This pattern ensures a single source of truth and enables real-time text validation or transformation.

4

What is the main difference between TouchableOpacity and Pressable?

5

How to display a loading indicator centered on the screen?

+17 питань зі співбесід

Інші теми співбесід 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 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 запитань

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 та симуляторів співбесід.

Почни безкоштовно