Shallow vs. Deep merge in React.js
Prerequisites for this article – fundamentals of React.js
Intro
When it's required to keep only single state as primitive of string , number , or any relevant , there is no need to use deep merge approach , conversely – make use of shallow merge . ...
vanillacamp.hashnode.dev5 min read