---
title: "Deepak Rawat (@abcdeepakr) | Hashnode"
description: "figuring things out. Read the latest articles by Deepak Rawat on Hashnode."
url: "https://hashnode.com/@abcdeepakr"
---

@abcdeepakr

# Deepak Rawat

@abcdeepakr · Delhi, India · Joined June 2021

figuring things out

[Website](https://deepakr28.com/)

## Comments

[Thanks for writing this Ankit, I've never used custom hooks, this might be a good article for me to come back to while learning those. Also i have a question, maybe a bit vague, but is there a point when you start thinking, "I'm using too many state variables to handles UI changes". I searched a bit on reddit, people said they fix it when they hit perf bottlenecks. Do you find yourself in this situation, if yes how do you go about it?](https://hashnode.com/posts/the-nifty-abstractions-of-react-hooks/63c3d5d25194433f5272c1ce/comment/63c3e0c28f346b3f17ab8e94)

Comment · Article · Jan 15, 2023 · [The nifty abstractions of React hooks](https://hashnode.com/posts/the-nifty-abstractions-of-react-hooks/63c3d5d25194433f5272c1ce)

[Sorry for your loss brother, pretty sure these couplets that uncle shared are a drop in the ocean of his wisdom, thanks for sharing this with us. He must be really proud of you.](https://hashnode.com/posts/remembering-papa/61b58031b055806a4b00e8e0/comment/61b5e88eb055806a4b00ee80)

Comment · Article · Dec 12, 2021 · [Remembering Papa!](https://hashnode.com/posts/remembering-papa/61b58031b055806a4b00e8e0)

[hey, thanks for dumbing down the routes and controllers part, you've written the part 3? couldn't find it](https://hashnode.com/posts/build-a-rest-api-with-nodejs-routes-and-controllers/5f2840da83da2e09d5ebaaaf/comment/61a22137f0cb2e37690c6364)

Comment · Article · Nov 27, 2021 · [Build a REST API with Node.js: Routes and Controllers](https://hashnode.com/posts/build-a-rest-api-with-nodejs-routes-and-controllers/5f2840da83da2e09d5ebaaaf)

[i have this question, please forgive if it's something silly, i tried winston, and it logs data to an error.log file when i try to run it on localhost. I don't know how to implement the same when the application is in production, where can i find that error.log file. is it necessary to write the log file data into the database, what if i just want to download the file and read the logs. is that possible? I know a few complex workaround, but can i get the localhost experience on the production level](https://hashnode.com/posts/getting-started-with-winston-logger-a-beginners-guide/60ca8ea602579c1f34779e56/comment/619e6e3e11146d7e145e9cd3)

Comment · Article · Nov 24, 2021 · [Getting started with Winston Logger; A beginner's guide](https://hashnode.com/posts/getting-started-with-winston-logger-a-beginners-guide/60ca8ea602579c1f34779e56)

[Faruq , got it, thanks a lot](https://hashnode.com/posts/consuming-rest-api-in-react-with-axios/619cf24306cdc0324d914752/comment/619d47aafa52cd31fe52d20a#reply-619e6cee63587e7e6c9df437)

Reply · Article · Nov 24, 2021 · [Consuming REST API in React with Axios](https://hashnode.com/posts/consuming-rest-api-in-react-with-axios/619cf24306cdc0324d914752)

[hey Faruq, nicely articulated, i have this doubt regarding react, when do we make the api calls should be made with react only with in-sensitive data right, because react code is available in the browser also imagine you are performing a large operation, like binary search on 2lakh json objects, will you do that in the react code, or perfrom that on the backend and send the data on the frontend hope you understood what i am trying to say. cheers, once again, great blog.](https://hashnode.com/posts/consuming-rest-api-in-react-with-axios/619cf24306cdc0324d914752/comment/619d47aafa52cd31fe52d20a)

Comment · Article · Nov 23, 2021 · [Consuming REST API in React with Axios](https://hashnode.com/posts/consuming-rest-api-in-react-with-axios/619cf24306cdc0324d914752)

[hey Yogesh, lovely article anyhow I have a doubt regarding API calls from react, is it secure if I am fetching data with basic auth, is the application secure if I store the API key as env variables? Any sort of help will be appreciated :)](https://hashnode.com/posts/handle-api-calls-using-async-await-inside-the-useeffect-hook-in-react/606802857f07b6328b5ddfc6/comment/615219f3040ee87236950732)

Comment · Article · Sep 27, 2021 · [Handle API Calls Using async await Inside the useEffect Hook in React](https://hashnode.com/posts/handle-api-calls-using-async-await-inside-the-useeffect-hook-in-react/606802857f07b6328b5ddfc6)

[hey Olena, lovely article anyhow I have a doubt regarding API calls from react, is it secure if I am fetching data with basic auth, is the application secure if I store the API key as env variables? Any sort of help will be appreciated :)](https://hashnode.com/posts/ways-of-getting-data-from-api-in-react/606ad8c9b17dc439b747c8f5/comment/615219a1040ee87236950729)

Comment · Article · Sep 27, 2021 · [Ways of Getting Data from API in React](https://hashnode.com/posts/ways-of-getting-data-from-api-in-react/606ad8c9b17dc439b747c8f5)

[Thanks man,thanks for giving it a read](https://hashnode.com/posts/1/613db0ca22b7a41dfe5fd8b3/comment/613f4a4dc7e2ce4f0ec72019#reply-613f67cec7e2ce4f0ec725d0)

Reply · Article · Sep 13, 2021 · [\[::-1\]](https://hashnode.com/posts/1/613db0ca22b7a41dfe5fd8b3)

[Super cooool Neha, I wanted to display my photos on my personal website, this gave me some ideas, also can you recommend an article that allows me to use DOM elements like document.queryselectorAll and stuff, i know the basics ones, but creating html elements from JS is something I always wanted to try out.](https://hashnode.com/posts/create-an-amazing-image-search-app-using-pexels-api/61189098888ca15f5d389d21/comment/611893ed888ca15f5d389d73)

Comment · Article · Aug 15, 2021 · [Create an amazing Image Search App using Pexels API](https://hashnode.com/posts/create-an-amazing-image-search-app-using-pexels-api/61189098888ca15f5d389d21)
