Make Crud Todo List

import ‘./App.css’; import React, { useEffect, useState } from ‘react’ function NewFormSubmit() {   const [users, setUser] = useState([])   const [name, setName] = useState(“”);   const [email, setEmail] = useState(“”);   const [mobile, setMobile] = useState(“”);   const [userId,setUserId]=useState(null)   useEffect(() => {     getUsers();   }, [])   function getUsers() {   … Read more

How to create Form Validation in React function Hook

How to create import React from ‘react’; import { Container } from ‘react-bootstrap’; import { useState } from ‘react’; export default function NewFormValidation() {     const [newformData, setnewFormData] = useState({         firstName: ”,         lastName: ”,         userName: ”,         email: ” … Read more

How to make Function Constructor

function ManipulateStudentRecord(obj,eandD,string,newValue){this.obj = obj;this.eandD = eandD;this.string = string;this.newValue = newValue; if(eandD ===”edit”){return obj=function(){returnthis.name:”kamal”,this.age:23,this.designation:”pilot”}}if(eandD ===”delete”){return newValue =function(){returnthis.name:””,this.age:””,this.designation:””}}} ManipulateStudentRecord()

form to do list

import React from ‘react’; import { Container } from ‘react-bootstrap’; import { useState } from ‘react’; export default function NewFormValidation() {     const [newformData, setnewFormData] = useState({         firstName: ”,         lastName: ”,         userName: ”,         email: ”     }) … Read more

How to create React Js open-source Chat Platform

Chat Platform React

Hello friends today i am sharing with you open-source Chat Platform I (Anson) am building from the ground up. To watch the full development process from the beginning, you can check it out up-to-date playlist on YouTube. To see the back-end project, see the Chat Platform NestJS repository. This is the React project for the open-source Chat … Read more

React Interview Question

What is Virtual Dom in React. What is JSX What the Difference between Props and State what is Props Drilling What is Router Difference between useState, UseEffect and useContext What the Difference between NPM and NPX in react What are Higher Order Components. What are react Hooks. Why functional components are better than class based … Read more

Java Script Interview Question

What are the different data types in javascript? What is Deep Copy and Shallow Copy in Javascript ? What the Difference between Var , Let and Const in Java Script. What is Closure in javascript. What are the Callback Function in javascript What is Iife Imediate Invoke function in java script ? What is higher … Read more