Open in app

Sign In

Write

Sign In

Tanuj Choudhary
Tanuj Choudhary

Home

About

Nov 17, 2020

React: Dynamically Add input fields

In this tutorial I will show you how to add or remove input fields dynamically with React js. Sometimes the number of fields in a form are not predefined or they are different for every different users. So This tutorial will show how to do it the React way. Example: I…

React

2 min read

React

2 min read


Nov 12, 2020

React Private Route using custom hooks

This tutorial shows how to create Private Route in React using hooks. Prerequisites: React js Hooks React Router Step 1: Start by creating a react app. Step 2: Install react router dom. npm install react-router-dom Step 3: Lets create a reusable auth component The auth component will return 2 things : Sign in status & User. In Below code use your API to get the user and sign in status. Step 4: Lets create our private route

Private Route

1 min read

Private Route

1 min read


Nov 8, 2020

Setup Nodemailer 2020

This tutorial shows how to setup nodemailer and send mails using node js. Prerequisites: Node js Basic knowledge of Google Console Step 1: Create a simple node or express server Step 2: Create Client ID in Google Console Go to https://console.developers.google.com/ Login or create a account Create a project and select it. Go to API & services → Credentials → Create Credentials → OAuth Client ID Choose web…

Nodejs

2 min read

Setup Nodemailer 2020
Setup Nodemailer 2020
Nodejs

2 min read

Tanuj Choudhary

Tanuj Choudhary

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech