My Recent React JS Interview
Prathamesh Patil
Posted on June 18, 2021
- React Interview 18 June 2020 * **********************************************************
let num=0;
async function increment(){
num+=await 2;
console.log(num);
}
increment();
num+=1;
console.log(num);
console.log('hi');
setTimeout(()=>console.log('there'),5000)
console.log('You')
cont
let
var
let arr = [1,2,3,4,5];
for(var i=0 ; i < arr.length ; i++){
arr[i] = arr[i]++;
}
console.log(i)
ans output and why
let newArray = [1,2,3,4,5];
1) Increment 1 in the smallest and largest element.
-Difference between state and props
-To to pass props from child to parent
-What if i tried to push a value in const array
-Optimising Apps
-Webpack Bundle - create a build file for each file in proj
-event loops in js
Scenarios
- handling auth tokens
- handling user with different permissions.
- create a project to list an employee from api with onclick of user should redirect to specific user.(Explain whole design)
๐ ๐ช ๐
๐ฉ
Prathamesh Patil
Posted on June 18, 2021
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
react How to build type-enforced UI components in React Native using @shopify/restyle
November 28, 2024
react Double the Talk, Double the Recording: Capturing Both Sides in Interpreted Zoom Meetings
November 27, 2024