THTanveer Hazarikaintanveersblog.hashnode.dev·May 20, 2022 · 5 min readTrust issues with setTimeout()If you have written js code for sometime then you have definitely come across something called "setTimeout()". It's quite a simple function, takes in a callback function as it's first argument and a duration as it's second. It then executes said call...02SD
THTanveer Hazarikaintanveersblog.hashnode.dev·May 11, 2022 · 5 min readDeep vs Shallow copyWhat exactly is deep or shallow copy? According to the MDN docs, Deep copy A deep copy of an object is a copy whose properties do not share the same references (point to the same underlying values) as those of the source object from which the copy...00
THTanveer Hazarikaintanveersblog.hashnode.dev·May 10, 2022 · 3 min readKeys in React – Do we really need them?So what exactly are these “keys”? At its very core a key is nothing but a unique identifier to your element. It’s the same as how a student has a roll number or an employee has a unique employee id assigned to them. It’s just another identifier. Now...00