@Akash, i have a doubt. Like in map if i dont write 'return()' then it is not returning me a list. I have to explicitly write 'return'. But i see you have not written 'return' in map function. And also bit confused when to use return{} and return(). What is the difference
When we use {} it means multiline statement and we have to use return statement to return jsx And with () its kind of a simple expression and works without return statement
Thanks for watching!!
Don't forget to like share and subscribe 👍
thank brother make more interview videos like this......but calls are very less now a days
Sure brother… yes calls are less but we have to keep trying 🙂
useful video
@Akash, i have a doubt. Like in map if i dont write 'return()' then it is not returning me a list. I have to explicitly write 'return'. But i see you have not written 'return' in map function.
And also bit confused when to use return{} and return(). What is the difference
When we use {} it means multiline statement and we have to use return statement to return jsx
And with () its kind of a simple expression and works without return statement
Pls explain in depth also , you have not covered it .
content mei dum to hai!