Question 4 of 10Pro Only

What is React Testing Library? How does it differ from Enzyme and what is its core philosophy?

Sample answer preview

## What is React Testing Library (RTL)? React Testing Library is a **lightweight testing library** that focuses on testing React components the way users interact with them.

React Testing LibrarygetByRoleuserEventscreenqueriesasync testing

Unlock the full answer

Get the complete model answer, key points, common pitfalls, and access to 9+ more Full-Stack Developer interview questions.

Upgrade to Pro

Starting at $19/month • Cancel anytime