React

Showing 19-27 of 38 results

Share

Stale-While-Revalidate Data Fetching With React Hooks: A Guide

Inspired by stale-while-revalidate cache control logic, modern sites implement stale-while-refresh logic on the UI side. Thankfully, React Hooks make this logic painlessly reusable across components.

15 minute readContinue Reading
Avi Aryan

Avi Aryan

Maintain Control: A Guide to Webpack and React, Pt. 2

In a React/Webpack development scenario, there are myriad options to choose from. It’s worth exploring some advanced techniques when it comes to TypeScript, CSS, web workers, and service workers.

8 minute readContinue Reading
Michael Pontus

Michael Pontus

Maintain Control: A Webpack/React Tutorial, Pt. 1

When starting a new React project, you have many templates to choose from. These templates are able to support application development at a very large scale. But they leave the developer experience and bundle output saddled with various defaults, which may not be ideal.

11 minute readContinue Reading
Michael Pontus

Michael Pontus

Building Reactive Apps with Redux, RxJS, and Redux-Observable in React Native

While Redux is a great state management solution, it doesn’t support asynchronous behavior by default. A way around this is to use redux-observable, based on RxJS - a powerful library for reactive programming in JavaScript.

9 minute readContinue Reading
Sourabh Verma

Sourabh Verma

Increase Code Maintainability With React Integration Testing

Integration tests provide a lot of value considering the time and effort required for testing. React integration tests improve code maintainability, yet they don’t slow down development.

In this article, Toptal Software Developer Anton Rublev demonstrates how you can harness the power of react-testing-library to create superior code without wasting time.

7 minute readContinue Reading
Anton Rublev

Anton Rublev

React Tutorial: Components, Hooks, and Performance

In recent years, React has established itself as the most popular library in the JavaScript universe. However, rather than rest on its laurels, the React team is still working hard to make it better.

In the second part of our React tutorial series, Toptal JavaScript Developer Kamil Jakubczak takes a closer look at some of its features, including hooks, the latest addition to React.

16 minute readContinue Reading
Kamil Jakubczak

Kamil Jakubczak

Working With the React Context API

The React Context API was been around as an experimental feature for a while now but finally became safe to use in production last year, solving one major problem React problem — prop drilling.

In this article, Toptal Freelance Javascript Developer Boris Yordanov will introduce us to the API and illustrate it with two basic web store apps, one built with the Context API and one without it.

5 minute readContinue Reading
Boris Yordanov

Boris Yordanov

React Tutorial: How It Compares to Angular and Vue

In recent years, React went from being an also-ran in the JavaScript universe to the most popular JS library. However, how does React stack up against Angular and VueJS in 2019?

In the first part of our React tutorial series, Toptal JavaScript Developer Kamil Jakubczak outlines the reasons behind React’s popularity and explains how to get started on your first React app.

12 minute readContinue Reading
Kamil Jakubczak

Kamil Jakubczak

Top-level Control With Redux State Management: A ClojureScript Tutorial

ClojureScript is the tool of choice for front-end developers who have tried it. Recently in this series, we showed how to use it to get started with React. In today’s tutorial, Toptal Freelance Clojure Developer Luke Tomlin dives into how to use Redux for React state management in ClojureScript.

10 minute readContinue Reading
Luke Tomlin

Luke Tomlin

World-class articles, delivered weekly.

By entering your email, you are agreeing to our privacy policy.

Join the Toptal® community.