Filter interviews by
I applied via Job Portal and was interviewed in Jun 2021. There were 4 interview rounds.
useState is used to manage state in functional components in React.
useState is a hook provided by React.
It allows functional components to have state.
It takes an initial value and returns an array with two elements: the current state value and a function to update it.
useState can be used multiple times in a single component to manage different pieces of state.
let, var, and const are used to declare variables with different scopes and mutability.
let has block scope and can be reassigned
var has function scope and can be reassigned
const has block scope and cannot be reassigned
let and const are both block-scoped, meaning they are only accessible within the block they are declared in
var is function-scoped, meaning it is accessible within the function it is declared in
Top trending discussions
I applied via Company Website and was interviewed in Dec 2022. There were 3 interview rounds.
Arithmetic, reasoning, English
Making presentation, typing skills, program python
InsanelyGood
Vegrow
Shine
Pepper Content