MCMannu Chaurasiyaincustomhooks.dev·Apr 18, 2024 · 1 min readContext Api with Local storageThe localStorage object allows you to save key/value pairs in the browser. the localstorage objects store the data with no expiration date it is the advanced way to use the Context hooks in Data to ensures that get the data and than set the data it c...00
MCMannu Chaurasiyaincustomhooks.dev·Apr 18, 2024 · 1 min readHow to use Context Apicontext api is mostly used to pass the data from one state to another state and it just make. It is determined as the value passed to the closest SomeContext.Provider above the calling component in the tree. If there is no such provider, then the ret...00
MCMannu Chaurasiyaincustomhooks.dev·Apr 9, 2024 · 1 min readCreating Custom hooks in React jsCustom hooks is not different things it is as usual same thing as it normal hooks like useState and useEffect use as common mrthodology to implement their code in best possible manner such that, it's implementation is mostly used in fetching an api ,...00