← ReactChallenge.com

Coding · Facts & stats

React facts & stats

7 fact-checked facts about the react javascript library for building user interfaces, each with the reason behind it. 5 more are in today's round and join this page after it closes.

Play today's round

The basics

React is mainly used to build what?

AnswerUser interfaces

React is a UI library.

What are the reusable building blocks of a React app called?

AnswerComponents

React UIs are built from components.

Going deeper

Which hook adds state to a function component?

AnsweruseState

useState returns a value and a setter.

Which hook runs side effects, like fetching data?

AnsweruseEffect

useEffect runs after render for side effects.

In what year was React open-sourced?

Answer2013

React was released publicly in May 2013.

Expert level

What is the in-memory representation React uses to compute UI changes?

AnswerVirtual DOM

React diffs a virtual tree to minimize real DOM updates.

What is React Native?

AnswerReact for building native mobile apps

React Native uses React to build iOS and Android apps.

Know these cold?Today's round is five questions like these, 20 seconds each. Your streak and level follow you to every arena.Play today's round