React Most Asked Interview Question #developer #interview #javascript #short #react #css #html

preview_player
Показать описание

This Video Contain React Most Asked Interview Question

Subscribe for more upcoming Interview Questions.

LIKE | SUBSCRIBE AND SHARE
ADD ME ON :
Рекомендации по теме
Комментарии
Автор

... it works only for primitive value props. If not primitive value, you have to provide a comparing function in 2nd param.

xushenxin
Автор

I was not aware of it earlier but you have explained in very easy mammer. 😊

AbhishekSingh-fmlu
Автор

Appreciate the content!! Keep it up brotha

Prosomeday
Автор

You should add second parameters (prevState, nextState) in the memo, And compare both .
Because type props is Array, If type of props is Primitive your way is correct.

hendrieenalqory
Автор

I had this exact question in my codility test yesterday.

kelvinmatheka
Автор

I would add that it only does a shallow comparison

dorianurem
Автор

Normal count method also exam for memos

Mana_Jallikattu_
Автор

Can you make a video on useState, I am new to react. I can't understand that 👍

mode
Автор

Also know for creating pure components

justsimple
Автор

Memo and useMemo both are use in react 18 in real company?

davidbaraiya
Автор

Pure components will also do the same things right to not rerenderd again and again.

jagdishjena
Автор

Your English is easy to understand could you help me to improve

Dymosys
Автор

people explained memo in an hour video but u did it in short xD

likwaichan
Автор

Its used for expensive operations only. Can’t use it everywhere.

rohans
Автор

Why not all the components are defined using memo by default? What are the drawbacks in doing so?

vivekreddy
Автор

I thought React already did that for default

ridrogoxd
Автор

I don't know why I'm trying to understand this 😕 currently learning JavaScript 🙃 and didn't touch React

divyanshu
Автор

Bhai kya boldiya starting mai smaj aya baat nai kya boldiya

Ashishsingh-oove
Автор

Practically, this is not needed nor popular. Since JS is way faster than DOM updated, assuming data hasn't changed.

sanjarcode
Автор

Unfortunately, unlike the main stream languages like c++, java, C#, no one knows if react.js will be available next 2 years. It takes 2 years to perfect any JS framework in such details, just to risk it no to be available once you are expert in it.

gencymeri