i
Snapmint Credit
Advisory
Filter interviews by
useState is a hook in React that allows functional components to have state.
useState is used to declare state variables in functional components.
It returns an array with two values: the current state value and a function to update it.
The initial state can be passed as an argument to useState.
Example: const [count, setCount] = useState(0);
useEffect is a hook in React that allows you to perform side effects in functional components.
It replaces componentDidMount, componentDidUpdate, and componentWillUnmount.
It takes two arguments: a function that performs the side effect and an array of dependencies.
The function is called after every render, unless the dependencies haven't changed.
Common use cases include fetching data, setting up event listeners, and upd...
To find a bug in a React problem
Check the console for any error messages
Use React Developer Tools to inspect the component tree and state
Check if the props and state are being updated correctly
Check if the lifecycle methods are being called in the correct order
Check if the event handlers are bound correctly
Check if the JSX syntax is correct
Top trending discussions
I applied via Naukri.com and was interviewed in Feb 2021. There were 3 interview rounds.
The number of working days and working hours for a Software Developer.
Software Developers typically work 5 days a week.
The standard working hours for Software Developers are 8 hours per day.
However, the actual number of working days and hours may vary depending on the company and project requirements.
posted on 11 Oct 2023
I applied via Naukri.com and was interviewed in Sep 2023. There were 2 interview rounds.
I applied via Approached by Company and was interviewed before May 2023. There were 2 interview rounds.
posted on 24 Feb 2025
I appeared for an interview in Jan 2025.
Array rotation, which is relatively straightforward.
Key JavaScript concepts.
2 DSA Questions and questions from springboot for java
Given a text need to understand and solve
Some Java based and system design api was allowed to made
I appeared for an interview in Nov 2024, where I was asked the following questions.
Design a classic Snake Game where players control a snake to eat food and grow while avoiding collisions.
Game Board: A grid-based layout where the snake moves.
Snake Representation: Use an array to represent the snake's body segments.
Movement Logic: Update the snake's position based on user input (e.g., arrow keys).
Food Generation: Randomly place food items on the grid for the snake to eat.
Collision Detection: Check for...
I applied via LinkedIn and was interviewed in Apr 2024. There were 2 interview rounds.
It was a simple assignment where you needed to implement a Django app from a well laid out documentation.
Fix two swapped nodes in a Binary Search Tree to make it valid
Identify the two nodes that are swapped incorrectly
Perform an inorder traversal to find the nodes that are not in ascending order
Swap the values of the incorrectly swapped nodes to fix the BST
based on 1 interview experience
1-3 Yrs
Not Disclosed
Operations Manager
7
salaries
| ₹17.4 L/yr - ₹21 L/yr |
Analyst
6
salaries
| ₹9 L/yr - ₹14.5 L/yr |
Operations Executive
6
salaries
| ₹1.9 L/yr - ₹3 L/yr |
Data Analyst
6
salaries
| ₹6 L/yr - ₹8 L/yr |
Team Lead Operations
5
salaries
| ₹3.6 L/yr - ₹3.6 L/yr |
Samunnati
Karvy Financial Services
Reliance Money
Bss Microfinance