Category Archive for "React.js"

Five useful React hooks for any project

In this post, we will cover five simple React hooks that you will find handy in any project. These hooks are useful no matter the features of the application. For each hook, we will provide the implementation and the client

Read More

How Promises work in JavaScript

In the current age of JavaScript, Promises are the default way to handle asynchronous behavior in JavaScript. But how do they work? Why should you understand them very well? A Promise in Real Life When we make you a promise,

Read More

Pros and cons of React Native development in 2021

React Native, next to Flutter and PWA, was called a revolution in cross-platform app development and delivering great mobile experience. Code repository that’s shareable between platforms? Reusable components? That definitely sounds tempting. React Native has been praised for its “Learn

Read More

What’s JSX Transform?

Browsers don’t understand JSX out of the box, so most React users rely on a compiler like Babel or TypeScript to transform JSX code into regular JavaScript. Many preconfigured toolkits like Create React App or Next.js also include a JSX

Read More

What’s new actually in React v17.0

It has been two and a half years since React v16 was first released. The dev team promises that update v17 is incredibly important for the future of React but claims that no new features are being added. So what

Read More

What’s new in React Router 6

React Router is by far the most popular library in the React ecosystem. According to npm, it is downloaded about 3.6 million times a week. This number is almost half of React’s 7.6 million weekly downloads. This means that almost

Read More

Using Redux middleware for polling

In the frontend development world, we oftentimes need to have up-to-date data on the client. And to achieve that there are several options at our disposal: WebSockets (WS); Server-Sent Events (SSE); Polling (Short/Long). While the first to are preferred, polling

Read More

Managing states with Recoil in React application

Recoil is an experimental state management library for React apps. It provides several capabilities that are difficult to achieve with React alone while being compatible with the newest features of React. While working with react you might have noticed that

Read More

Three ways to use Babel with React

Babel is a JavaScript compiler that includes the ability to compile JSX into regular JavaScript. What is Babel? JavaScript transpiler. Initially, the main focus of babel is to convert ECMAScript 2015+ (ES6+) code into a backwards compatible version of JavaScript that can be

Read More

React v16.13.0 – bugfixes and new deprecation warnings

React 16.13.0 contains bugfixes and new deprecation warnings to help prepare for a future major release. New Warnings Warnings for some updates during render A React component should not cause side effects in other components during rendering. It is supported

Read More