react

Recent in

react

How to Develop a Chatbot with React and OpenAI
programming

How to Develop a Chatbot with React and OpenAI

https://hackernoon.com

In the we built a Node.js/Express server that exposes an `/ask` endpoint. When this endpoint is triggered and we include a text `prompt', the endpoint interacts with OpenAI's `/completions` API to generate and return a continuation of that text. We'll be building the UI of our app with the React JavaScript library.

Hassan DjirdehFeb 27, 2023
How to Test User Interactions Using the React Testing Library
React

How to Test User Interactions Using the React Testing Library

https://www.freecodecamp.org

When you're testing different components in React, you’ll need to simulate user interactions with various parts of each component. In this tutorial, I am going to show you some methods to simulate user interactions with different interactive elements.

Kunal NalawadeFeb 20, 2023
Why You Should be Learning about the Remix Framework
react

Why You Should be Learning about the Remix Framework

https://hackernoon.com

The Remix Framework is a new full-stack web framework that lets you code the front and back together in an innovative way. It combines React syntax with TypeScript (or JavaScript, if you're a heathen) for building components – and defining route handlers for the back end.

EvanFeb 17, 2023
How to Use GraphQL with the Remix Framework
javascript-frameworks

How to Use GraphQL with the Remix Framework

https://hackernoon.com

GraphQL is a modern and flexible data query language that was developed by Facebook. It provides an efficient and powerful alternative to traditional REST APIs. The Remix Framework is a new and innovative approach to building React applications that offers a number of unique features and benefits.

EvanFeb 17, 2023
How to handle errors in React: full guide
A Detailed Guide to the useEffect Hook in React
react

A Detailed Guide to the useEffect Hook in React

https://hackernoon.com

React's useEffect hook is one of the trickiest and most powerful hooks in functional components. It allows you to perform side effects in react. A ‘side effect’ is any operation that affects something outside of the component such as making a REST API call, updating the DOM, etc.

Nirmal KumarFeb 13, 2023
Understanding Snapshot Testing in the React Testing Library
react

Understanding Snapshot Testing in the React Testing Library

https://hackernoon.com

Snapshot testing is a powerful technique for ensuring that your React components behave as expected over time. With React Testing Library, you can easily implement snapshot testing to verify that your components are rendering correctly.

Ildar SharafeevFeb 10, 2023
Alternatives to Create React App
web-development

Alternatives to Create React App

https://hackernoon.com

CRA is the official tool for configuring React applications when you start a new project. It is maintained by the core React team responsible for the main React library. CRA uses Webpack under the hood to set everything up.

Kaushal JoshiFeb 10, 2023
Implementing Social Login for a React and Backend App
react

Implementing Social Login for a React and Backend App

https://hackernoon.com

Social login allows users to log in to applications or websites using their accounts such as Facebook, Google, Twitter, etc. This saves users time by not having to create an additional account and password and taking advantage of the social network’s security measures.

L Javier TovarFeb 6, 2023
How To Use Debounce in Next.js
nextjs

How To Use Debounce in Next.js

https://hackernoon.com

React v16.8 introduced a new hook called `useEffect, which allows you to run side effects in your functional components. UseEffect is a great way to handle expensive operations like API calls, but it can take some work. In this post, I'll show you how to use use useEffect` to debounce expensive procedures in Next.js. Debouncing is a technique for controlling the rate at which a function is called.

Imamuzzaki Abu SalamNov 20, 2022
Newsletter

Let's keep in touch

Benefit from a weekly updates, coding challenges and helpful resources around software development.

Your privacy is important to us. We promise not to send you spam!