React

How To Customize React Components with Props — step-by-step Javascript tutorial on Progressive Robot

How To Customize React Components with Props

Props are arguments that you provide to a JSX element in a React application. They look like standard HTML props, but they aren’t predefined and can have many different JavaScript data types, including numbers, strings, functions, arrays, and even other React components. In this tutorial, you’ll create custom components by passing props to your component. After adding props, you will use PropTypes to define the type of data you expect a component to receive.

Read more
How To Implement Smooth Scrolling in React — step-by-step Javascript tutorial on Progressive Robot

How To Implement Smooth Scrolling in React

What is smooth scrolling? Instead of clicking on a button and being instantly taken to a different part of the (same) page, the user is navigated there via a scroll animation. It’s one of those subtle features on a site that makes an aesthetic difference.

Read more
How To Set Up Conditional and Responsive Routing with React Router v4 — step-by-step Javascript tutorial on Progressive Robot

How To Set Up Conditional and Responsive Routing with React Router v4

Responsive routing in React involves serving different routes to users based on the viewport of their device. In this tutorial, we will show you how to implement routing and serving responsive routes in your React applications. By following this tutorial, you will build a user dashboard application that serves different routes to users based on the size of their device screens.

Read more
CHAT