Hooks have already changed the way we use React for the better. Add TypeScript to the mix, and developers can leverage static typing and type transformations to reduce the noise of many interface descriptions. In this article, Toptal Software Developer Nicolas Zozol demonstrates hooks and TypeScript in React and explains how this powerful combo can save time and streamline your code.
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.
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.
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.
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.
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.
Are Vue.js, React, and Angular actually delivering a good developer and user experience, or are they used simply because they're the current de facto standard? Discover some exciting approaches to web development.
It's no secret that the WordPress codebase is a mess. Many developers use its legacy code as an excuse for writing sloppy code themselves, even if its newer additions follow best practices. If this is you, it's time to level up your skills!
Cross-platform mobile apps are increasingly being built with React Native. But how can you scan for QR codes and augment the user's camera view when they're present?
World-class articles, delivered weekly.
Subscription implies consent to our privacy policy
Thank you!
Check out your inbox to confirm your invite.
Join the Toptal® community.