DEV Community

loading...
saransh kataria profile picture

saransh kataria

A curious full stack developer who loves challenges and getting things done.

Work

Senior Software Developer

All 26 comments

Avoiding race conditions and memory leaks in React useEffect

As I mentioned, if there are other features that you are usin...

The 7 Most Popular DEV Posts from the Past Week

Thanks for the shoutout! It feels amazing to be a part of thi...

Avoiding race conditions and memory leaks in React useEffect

I would rather use a polyfill than use axios, but that is aga...

Avoiding race conditions and memory leaks in React useEffect

Thank you! fetch has become my go-to recently over any librar...

Avoiding race conditions and memory leaks in React useEffect

Thank you!

Avoiding race conditions and memory leaks in React useEffect

Thank you! Glad it was helpful. I prefer libraries only when ...

Avoiding race conditions and memory leaks in React useEffect

Glad it helped. Thank you!

Avoiding race conditions and memory leaks in React useEffect

Though that can be done, it will never return true since when...

Avoiding race conditions and memory leaks in React useEffect

Thanks, that was a typo and I have updated it.

React Hooks and Local Storage: Let’s build a ToDo app

Thanks for pointing that out. The verbiage is incorrect. It d...

React Hooks and Local Storage: Let’s build a ToDo app

You are welcome. Glad I could help!

React Hooks and Local Storage: Let’s build a ToDo app

you can change it to: case 'ADD_ITEM': if(state.find(...

React Hooks and Local Storage: Let’s build a ToDo app

I think you are mixing two concepts: useState and useReducer....

Detecting click outside component using React hooks

Glad it helped!

Hi CodeLand! We're Microsoft and we want to empower you to do more.

Thanks! My learn profile: docs.microsoft.com/en-us/users/sar....

Why GraphQL?

Glad that it helped. Thanks for the appreciation.

Why GraphQL?

There are a few things that are common, but there are a lot o...

Why GraphQL?

It depends on your use case. I have used Firebase for a small...

Why GraphQL?

GraphQL subscriptions are probably what you are looking for. ...

Why GraphQL?

Thanks for the kind words @bkis :)

Why GraphQL?

Don't know what happened there, but put the bullet list back ...

Why GraphQL?

This post might be helpful in understanding the differences: ...

Why GraphQL?

Haha, good eye.

Why GraphQL?

When you say they don't know how to add it, you mean they kno...

Why GraphQL?

There is a learning curve for queries and how it is structure...

Why GraphQL?

It also is a good fit when supporting multiple clients that h...

loading...