Better Programming

Advice for programmers.

Follow publication

Member-only story

14 Useful Packages Every React Developer Should Know

Trevor-Indrek Lasn
Better Programming
Published in
14 min readSep 8, 2020

React (or any other front-end framework) is an extremely powerful tool to master. When it comes to building front-end interfaces, React is hands down a huge time-saver for development teams and individuals.

npm packages are paramount when it comes to developer productivity and happiness. Why spend weeks reinventing the wheel when you can save time? Chances are high someone has already solved the problem you’re facing with an npm package.

Without further ado, here’s a list of packages I believe every React developer should know. These packages are big time-savers — use them when you can, and often!

1. React Testing Library

The React Testing Library is a lightweight solution for testing React components. The library provides light utility functions on top of react-dom and react-dom/test-utils.

react-testing-library — https://github.com/testing-library/react-testing-library

Installation

This module is distributed via npm packages.

yarn add --dev @testing-library/react

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Write a response