Animesh Sharma's Blog

Clustering Cookbook

May 2, 2023

tailwindcssdata sciencemachine learningunsupervisedclusteringkmeansdbscanagglomerative
Clustering is a technique used in data science to group together similar data points based on their attributes or features. The aim of clustering is to identify patterns and similarities in large datasets that may not be immediately apparent to the human eye. In clustering, data points are assigned to clusters...
Read More

A Comprehensive Guide to Using useMemo() Hook in React

February 22, 2023

reactreact-nativenextjsjavascriptreact hooks
useMemo is a powerful tool in a React developer's toolkit. It allows for the optimization of performance in components by selectively computing only the data that needs to be re-calculated. In this article, we've discussed the syntax and parameters of useMemo, provided an example of how to use it, discussed...
Read More

How DRAGON BALL helped me beat Imposter Syndrome?

February 18, 2023

motivationimposter syndromedragon ballgokuvegeta
The characters of DRAGON BALL offer many lessons that can be applied to overcoming imposter syndrome, particularly in the field of software development. By training ourselves, challenging ourselves, seeking support, setting realistic expectations, persevering, and adopting a growth mindset, we can overcome our self-doubt and achieve great things. It's important...
Read More

A Comprehensive Guide to Using useLayoutEffect() Hook in React

February 17, 2023

reactreact-nativereact hooksjavascript
useLayoutEffect is similar to useEffect, but it runs synchronously immediately after all DOM mutations. This makes it useful for manipulating the DOM and measuring layout, since you can rely on the most up-to-date values in the DOM. It's important to be aware of the potential performance implications of using useLayoutEffect...
Read More

A Comprehensive Guide to Using useEffect() Hook in React

February 17, 2023

reactreact hooksreact-nativejavascript
useEffect hook is a powerful tool that can help manage side effects in React. By allowing you to handle component lifecycle events and perform tasks after rendering, it can help keep your code organized and efficient. However, it's important to keep in mind best practices and potential gotchas to avoid...
Read More

A Comprehensive Guide to Using useState() Hook in React

February 16, 2023

reactreact hooksjavascriptreact-native
This blog provides a comprehensive guide to using the useState() hook in React. It covers the basics of how to define and update state variables in functional components, best practices for initializing and updating state, common pitfalls to avoid, and how to optimize performance. Whether you're new to React or...
Read More