React Native

Monitoring & Crash Reporting

Sentry, Firebase Crashlytics, symbolication, analytics, performance monitoring, structured logs

20 면접 질문·
Senior
1

What is the main role of a crash reporting service in a React Native application?

답변

A crash reporting service automatically captures unhandled errors (JavaScript and native) that cause crashes and sends them to a centralized server for analysis. This allows developers to detect production issues without waiting for user feedback, prioritize fixes based on impact (number of affected users), and obtain symbolicated stack traces to pinpoint the exact origin of bugs.

2

What is the fundamental difference between Sentry and Firebase Crashlytics for React Native?

답변

Sentry is an open-source multi-language platform designed to capture JavaScript errors, native crashes, and performance transactions in a unified interface. Firebase Crashlytics is free but primarily focused on native iOS/Android crashes with tight integration into the Google ecosystem. Sentry offers better JavaScript error handling and breadcrumbs support in React Native, while Crashlytics excels at pure native crash analysis.

3

What is symbolication in the context of React Native crash reporting?

답변

Symbolication is the process of converting obfuscated memory addresses in stack traces into readable file names, functions, and line numbers. In production, JavaScript code is minified and native code is compiled, making stack traces unreadable. Source maps (JavaScript) and dSYM files (iOS) or mapping files (Android) allow translating these addresses into actionable debugging information.

4

Why is it essential to upload source maps with each React Native release?

5

What are breadcrumbs in a crash reporting system?

+17 면접 질문

다음 면접을 위해 React Native을 마스터하세요

모든 질문, flashcards, 기술 테스트, 코드 리뷰 연습, 면접 시뮬레이터에 접근하세요.

무료로 시작하기