DEV Community

loading...
Sunny Singh profile picture

Sunny Singh

Creating content and code

Education

UNC Charlotte

Work

Software Engineer at Nomad Health

All 118 comments

WOW 😱 This pop-up is so nice

Clickbait title, but the pop up actually is so nice 😱

My First Personal Site! 📣

Really clean and I'm impressed with the level of detail to th...

React Hooks Factories

I love this technique, and great walkthrough of it! The use c...

Stop using virtualenv, pyenv, nvm, goenv and Use Docker images

I like the idea of Docker, but it does cause pain for local d...

HTTPS Domain Forwarding for Free via GitHub Pages

Nice! You could also set up Cloudflare in front of your old d...

Trouble with useEffect running every render? `useEffectRef` to the rescue!

I love the post as an explanation of how useEffect and useRef...

Sharing state using React's Context API

Thanks Mike! It's ok for the data to be undefined before it...

Got paid $0 for a 3 months client project

That's insane. Might've been my same situation (they either...

What's the Node framework landscape like?

Haven't seen a mention of Feathers yet, which is the framew...

Simplify JavaScript Promises

Agree, it's generally a good idea to be explicit and preven...

Simplify JavaScript Promises

Are you sure that you always need to add a .catch()? As lon...

Simplify JavaScript Promises

It depends on the flow that you want in your code. The ben...

Simplify JavaScript Promises

Definitely more concise! I think there is something to be ...

What is the most overworked you've ever been?

I had a client as a freelancer that kept changing the scope...

Simplify JavaScript Promises

Super happy to hear that Tanmay! The async/await syntax act...

Simplify JavaScript Promises

Thanks Kevin! I'm in the same boat, haven't really seen a h...

Investing in the right technologies to avoid technical debt

This is an amazing response, I wholeheartedly agree with yo...

Happy Birthday Ali Spittel

Happy birthday Ali! I love that you bring up topics about s...

Traditional vs modern web development ⚔️

Hey this means a lot, thanks Adam!

Traditional vs modern web development ⚔️

Not crazy at all haha, do whatever makes sense for you.

Traditional vs modern web development ⚔️

Nice, love the dinosaur comics! Yeah bundling is pretty imp...

What do you do if you're in the middle of a project and you realize it already exists in the world?

My reaction: Wow, look at this nice person validating my ...

Demystifying "const" variables in JavaScript

Awesome to hear 😁

Demystifying "const" variables in JavaScript

I do, for real constants that are static values. Consider t...

Demystifying "const" variables in JavaScript

They're declarative loops, but yes definitely loops.

Demystifying "const" variables in JavaScript

Thanks for sharing that post. I'm not sure I can fully agr...

Demystifying "const" variables in JavaScript

We're in the same boat! I try to avoid let and even loops, ...

What habit do many senior engineers have that juniors should try to avoid adopting?

That's a good point. If you must write clever code, then at...

What habit do many senior engineers have that juniors should try to avoid adopting?

It's clever in that scenario because seeing the exponential...

Tell me about your caffeine inputs

I drink at most two cups a day, but I try to avoid it in th...

What habit do many senior engineers have that juniors should try to avoid adopting?

Maksim nailed it. Regarding JSX though, it's a totally val...

What habit do many senior engineers have that juniors should try to avoid adopting?

Good idea. Clever code typically comes along with learning ...

What habit do many senior engineers have that juniors should try to avoid adopting?

Avoiding clever code. You feel smart writing clever code, ...

React — Access custom params in handlers the right way

I don't think that I would like to place data that I already ...

Do you prefer startup or corporate life?

Although my professional work experience is still limited, ...

Do you have a process for naming things?

Yeah, I follow certain guidelines that I outlined in my pos...

Introducing textua11y: A Color Contrast Tool

I like how you're doing this in steps, and releasing as you...

Revamping my personal site with Gatsby

Kind words Ben! My site is open sourced so feel free to use...

GitHub acquires Dependabot

Agree, actually I haven't used or even heard of Dependabot ...

What are your thoughts on the 4-day work week?

I think a 4-day work week sounds perfect for anyone that is...

GitHub acquires Dependabot

This is awesome! I personally have been using Snyk which lo...

5 Ways to Convert a Value to String in JavaScript

Thanks for sharing these comparisons. I commonly use toStri...

What's the most excited you've ever been about a new technology?

This may sound lame, but server-side rendering. I initially...

Difference between Node dependencies using emojis 🤷‍♂️ 🤷‍♀️

This cracked me up, while also teaching me about optional a...

Which editor do you use when opening files like .bash_profile, etc?

For quick edits, nano When setting up some complex multili...

Revamping my personal site with Gatsby

Thanks Strahinja! Haha happy to have shared React Kawaii. I...

A crash course to the most important Docker concepts and their commands

I really enjoyed the story selling format of this article! ...

🚲 🚂 🚗 🚆 How long is your commute time and how do you cope with it?

Half hour one way. I normally listen to podcasts in the mor...

Should you be perfect?

Glad to hear this resonate! I personally still have issues ...

Investing in the right technologies to avoid technical debt

Either that or developers creating their own utilities that...

Investing in the right technologies to avoid technical debt

Thank you, that means a lot. I'm quite proud of that headin...

Already know the interview code question? Don't admit it!

Was about to say this exact thing. Being able to explain ho...

Already know the interview code question? Don't admit it!

Plus I feel like it's on the company to provide good proble...

Already know the interview code question? Don't admit it!

This is great advice. I've had a positive experience where ...

Investing in the right technologies to avoid technical debt

Totally with you, although I wasn't for a long time. It's h...

Investing in the right technologies to avoid technical debt

Having good code coverage definitely helps with ensuring an...

Investing in the right technologies to avoid technical debt

Not every developer is up to date on the latest and greate...

Investing in the right technologies to avoid technical debt

React is not a framework I'm aware it's a UI library. I ...

Investing in the right technologies to avoid technical debt

I will make an update to the article to address this. Sorry...

Investing in the right technologies to avoid technical debt

100% agree with you Scott, well said! Experience is a huge ...

Investing in the right technologies to avoid technical debt

Thank you Donita! I agree, fundamentals are way more import...

Investing in the right technologies to avoid technical debt

Super happy to hear that Miguel!

Investing in the right technologies to avoid technical debt

Yep exactly. There is some stigma between developers to con...

Freebies Hunt - my personal list of free and open resources

Yeah, a full-on service. It'd be cool for it to integrate a...

Freebies Hunt - my personal list of free and open resources

Awesome idea. I have yet to find a good service for storing...

A Step by Step Guide to Installing a Ghost Blog and $5 Digital Ocean Droplet to Serve 100k+ Readers

As an added bonus, you could host Ghost as a headless CMS f...

Should you be perfect?

Agree! Unfortunately when it comes to being a perfectionist...

JavaScript Quick Tip: Named functions for sane debugging

Yeah TDD can help with that for sure, but I definitely stil...

JavaScript Quick Tip: Named functions for sane debugging

I don't think there are performance downsides to using name...

JavaScript Quick Tip: Named functions for sane debugging

Glad it helped Jorge!

What was your win this week?

Appreciate it Matthew 🙌

What was your win this week?

This week, I had the first guest on my podcast where we tal...

Sharing state using React's Context API

Also definitely let me know what parts of React you found d...

Sharing state using React's Context API

That means a lot to hear that Nick, thank you. I try to be ...

Sharing state using React's Context API

Ah I see what you mean. Yes you're correct, there is no di...

Sharing state using React's Context API

Thanks leob. Regarding Hooks, they're fairly new so I want...

Maintaining Motivation

I go through phases of this, and I also go back and forth b...

The biggest mistake library and framework maintainers make

Which is why frameworks like Rails and Laravel are still po...

‪How often have you created a state machine diagram?‬

State machines and state machine diagrams aren't as popular i...

Sharing state using React's Context API

Haha yeah. I think most people jump on the Redux hype train...

Writing code for your future self

Yep, I definitely agree in cases where the optimized versio...

If/else or just if?

I added the comments just for the sake of the example, but ...

If/else or just if?

Consistency is definitely most important. I just did a sear...

If/else or just if?

TIL about "space shuttle style", very interesting. I'm not...

If/else or just if?

I always go with Statement B. This is known as "early returns...

Writing code for your future self

Haha, yeah good point. I agree that they are easier to upda...

Writing code for your future self

I see no issues with reading your code, plus what I provide...

Writing code for your future self

Haha I was debating on including that but I don't think tha...

Writing code for your future self

True. For the same functionality you would want something l...

Why do you code?

I started very young as well, 13 in fact. It's a curiosity ...

Writing code for your future self

You're right, good catch! Maybe I should write unit tests f...

Writing code for your future self

It's great when languages have built-in constructs that hel...

Writing code for your future self

Super happy to hear this! Glad you were able to grab someth...

Writing code for your future self

Hi Nick! I'm happy to hear that. You've covered the key poi...

Writing code for your future self

That's a perfect use case for a comment! I prefer code that...

Writing code for your future self

Thanks Marissa! Exactly, being able to understand how your ...

The benefits and origins of Server Side Rendering

I may have stirred up some confusion here, as I think you c...

The benefits and origins of Server Side Rendering

Yes exactly. Even in an SPA, you can provide a title and me...

The benefits and origins of Server Side Rendering

Happy to hear that Michael. I used to do something similar ...

The benefits and origins of Server Side Rendering

Hi Mazen. My points about using Next.js/Nuxt.js is if you'r...

The benefits and origins of Server Side Rendering

Hopefully this clears things up: ...

The benefits and origins of Server Side Rendering

I think there's some confusion here. I am not advocating on...

The benefits and origins of Server Side Rendering

Thanks for sharing Adrian! I mentioned Prerender.io at the ...

Ah, to be the Justin Bieber of Open Source

It's funny how high expectations are for open source code d...

JavaScript Quick Tip: Import from folder

That is a really weird case scenario. I didn't have any iss...

React UI Kits

I really like the composability of Reakit as that solves the ...

Blog Comments Powered by GitHub

This is a perfect solution for developer-focused blogs. And...

Describe Your Tetris Effect

Thinking about it more now, Tetris is the perfect analogy f...

Revamping my personal site with Gatsby

Thanks Michael. Yeah I guess using a number for a drop cap ...

Revamping my personal site with Gatsby

Thank you. React Kawaii is a fun touch to add, glad to have...

Revamping my personal site with Gatsby

Thanks for the kind words Kyle!

My New Mac Setup (2018-2020)

Thanks for sharing your setup! I didn't know about cursor s...

I Need jQuery

I think this article was meant as a joke, but I do agree th...

loading...