NNikhilinnikhilbelide.hashnode.dev·May 20, 2022 · 9 min readImmer with React useReducer.Immer is a simple JavaScript library that allows us to use immutable state at the convenience of us updating the state in a mutable way. But what is Mutation and Immutability and why are they important. Mutation is simply when you update the old valu...01G
NNikhilinnikhilbelide.hashnode.dev·May 19, 2022 · 11 min readuseRef and forwardRef in React.What Is useRef? useRef is a react hook that is basically used to store the reference of something like let's say a DOM element. It takes a single argument as initial value and returns an object with a single property called current. This current hold...02SU
NNikhilinnikhilbelide.hashnode.dev·May 18, 2022 · 7 min readShallow Vs Deep Copy!Every developer would have come across Copying knowingly or unknowingly (That's what we do right!) . But what is a copy? In Layman's terms, Copy looks exactly like the original but the only difference is that when a copy is modified, the original doe...05BPVU