This React Native Online Test
Separates Good From Bad Hires

Screen with work-sample questions

Work-samples are the best predictor of work performance. 8,000+ companies use TestDome premium questions.

About the test

The React Native online test evaluates the candidate's knowledge of key concepts used to build UIs with React Native.

It is an ideal test for pre-employment screening . A good React Native developer should be able to work with the React Native framework to build high performance and user-friendly UIs.

The online test requires candidates to answer multiple choice and fill in the blank questions about React Native.

Sample public questions

A shopping app made with React Native shows a notification to users for product offers, as shown in the image below:

A rectangle with two lines of text.

Fill in the blanks below with appropriate code, so that the component will render with the styling of the image above:

const companyBlue = "#006fad";

const styles = StyleSheet.create({
  container: {
    borderWidth: 2,
    ___________: companyBlue,
    borderRadius: 5,
    padding: 10,
  },
  title: {
    __________: "bold",
    fontSize: 20
  },
  subtitle: {
    _________: "italic"
  },
  primary: {
    color: companyBlue
  }
});

const Notification = ({title, description}) => {
  return (
    <View style={styles.container}>
      <Text style={[styles.title, styles.primary]}>{title}</Text>
      <Text style={[styles.subtitle, styles.primary]}>{description}</Text>
    </View>
  );
};
React Native
Styling
Easy
5 min
fill
Public

Consider the following code for a SoundBoard component in React Native:

const createSoundItem = ({item, index, onPressPlay}) => {
  return (
    <View>
      <Text>
        {item.name}
        <Button onPress={() => onPressPlay(item.id)} title={"play"} />
      </Text>
    </View>
  );
};

const SoundBoard = ({sounds, onPressPlay}) => {
  return (
    <SafeAreaView>
      <FlatList
        data={sounds}
        renderItem={parameters => createSoundItem({...parameters, onPressPlay})}
        keyExtractor={item => item.id}
      />
    </SafeAreaView>
  );
};

The following array is passed as the sounds prop of the SoundBoard component:

[{ id: "001", name: "Glass Break" }]

What is true about the functionality of the SoundBoard component?

React Native
Components
Easy
5 min
mca
Public

For jobseekers: get certified

Earn a free certificate by achieving top 25% on the React Native test with public questions.

Take a Certification Test

Sample silver certificate

Peter Gibbons

Java and SQL

TestDome
Certificate

TestDome logo on certificate

For companies: premium questions

Buy TestDome to access premium questions that can't be practiced.
Get money back if you find any premium question answered online.

Sign Up to Offer this Test

Skills and topics tested

  • React Native
  • Styling
  • Components
  • Hooks
  • State Hook
  • Forms
  • Conditional Rendering

For job roles

  • Mobile Developer
  • React Native Developer

Solve all your skill testing needs

150+ Pre-made tests

From web development and database administration to project management and customer support. See all pre-made tests.

Multi-skills Test

Mix questions for different skills or even custom questions in one test. See an example.

How TestDome works

1
Choose a pre-made test or create a custom test.
2
Invite candidates via email, URL or your ATS
3
Candidates take a test remotely
4
Sort candidates and get individual reports

Want to know more?