React

Showing 1-9 of 17 results
EngineeringIcon ChevronTechnology

Stale-while-revalidate Data Fetching with React Hooks: A Guide

by Avi Aryan

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
EngineeringIcon ChevronTechnology

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

by Michael Pontus

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
EngineeringIcon ChevronTechnology

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

by Michael Pontus

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
EngineeringIcon ChevronBack-end

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

by Sourabh Verma

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
EngineeringIcon ChevronWeb front-end

Increase Code Maintainability with React Integration Testing

by Anton Rublev

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
EngineeringIcon ChevronTechnology

React Tutorial: Components, Hooks, and Performance

by Kamil Jakubczak

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.

17 minute readContinue Reading
EngineeringIcon ChevronWeb front-end

Working with the React Context API

by Boris Yordanov

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
EngineeringIcon ChevronTechnology

React Tutorial: How to Get Started and How it Compares

by Kamil Jakubczak

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
EngineeringIcon ChevronTechnology

Top Level Control with Redux State Management: A ClojureScript Tutorial

by Luke Tomlin

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

Join the Toptal® community.