Category Archives: React

React – Router

By | 19/05/2021

In this post, we will see how to manage the Routing in React.In a nutshell, we will see how it is possible to move between different parts of an application. First of all, we create a React project called “test router” (using the command npx Create-react-app testrouter) and we modify the file App.cs: [APP.CS] Then,… Read More: React – Router »

React – Form

By | 02/12/2020

In this post, we will see how to create a Form in React in order to manage a login formed by Username, Password and UserType. First of all, we create a file called reactform where we will define the form: Then, we define two input HTML objects for handling Username and Password: Finally, we define… Read More: React – Form »

React – Hooks

By | 16/09/2020

In this post, we will see how to use Hooks in React.But, what are Hooks?From React web site:“Hooks are a new addition in React 16.8. They let you use state and other React features without writing a class.“ STATE HOOKS We open Visual Studio Code and we create a file called State.js: [STATE.JS] Now, if we… Read More: React – Hooks »

React – Tips

By | 04/09/2020

In this post, we will see three tips that can help us in develop of React applications. CODESANDBOXCodesandbox is an instant IDE and prototyping tool for rapid web development. We can use it to create prototype for example in React, Angular or Vue, from anywhere, on any device without setup and using only a browser.We… Read More: React – Tips »