---
title: "Ankita Sharma (@CodeCraftByAnkita) | Hashnode"
description: "Unlocking the world of coding, one line at a time. Read the latest articles by Ankita Sharma on Hashnode."
url: "https://hashnode.com/@CodeCraftByAnkita"
---

@CodeCraftByAnkita

# Ankita Sharma

@CodeCraftByAnkita · Joined March 2024

Unlocking the world of coding, one line at a time.

### [Why Consistency Gets Tricky in Sharded SQL Databases](https://codecraftbyankita.hashnode.dev/why-consistency-gets-tricky-in-sharded-sql-databases?utm_source=hashnode&utm_medium=feed)

Ensuring consistency in a sharded SQL database is complex due to the need to maintain the ACID properties (Atomicity, Consistency, Isolation, Durability) across multiple servers. Here's an easy-to-understand explanation of why this is challenging: Wh...

3 min read · [codecraftbyankita.hashnode.dev](https://codecraftbyankita.hashnode.dev/why-consistency-gets-tricky-in-sharded-sql-databases?utm_source=hashnode&utm_medium=feed)

[Aug 15, 2024](https://hashnode.com/posts/why-consistency-gets-tricky-in-sharded-sql-databases/66be775fd4971809287593f9)

### [Workers in JavaScript](https://codecraftbyankita.hashnode.dev/workers-in-javascript?utm_source=hashnode&utm_medium=feed)

Introduction JavaScript, often celebrated for its simplicity, surprises many with its single-threaded nature, seemingly limiting its ability to handle complex tasks efficiently. However, it has a hidden concurrency solutions. What are those solutions...

4 min read · [codecraftbyankita.hashnode.dev](https://codecraftbyankita.hashnode.dev/workers-in-javascript?utm_source=hashnode&utm_medium=feed)

[Apr 19, 2024](https://hashnode.com/posts/workers-in-javascript/66221450d6f528dd4c20cf36)

### [React Fragments: Cleaner Code and Better Structure](https://codecraftbyankita.hashnode.dev/react-fragments-cleaner-code-and-better-structure?utm_source=hashnode&utm_medium=feed)

Introduction Imagine you're packing items for a trip. Usually, you'd put everything in a suitcase, right? But what if you have a few small items that don't need a suitcase of their own? You could just group them together in your hand or in a small ba...

4 min read · [codecraftbyankita.hashnode.dev](https://codecraftbyankita.hashnode.dev/react-fragments-cleaner-code-and-better-structure?utm_source=hashnode&utm_medium=feed)

[Apr 10, 2024](https://hashnode.com/posts/react-fragments-cleaner-code-and-better-structure/6616026e6a342b035395608d)

### [From DOM Queries to useRef in React - A Journey of Modern DOM Manipulation](https://codecraftbyankita.hashnode.dev/from-dom-queries-to-useref-in-react-a-journey-of-modern-dom-manipulation?utm_source=hashnode&utm_medium=feed)

Introduction In web development, manipulating the Document Object Model (DOM) is a fundamental task. Traditionally, JavaScript developers have relied on methods like document.getElementById or document.getElementByClass to access and interact with sp...

6 min read · [codecraftbyankita.hashnode.dev](https://codecraftbyankita.hashnode.dev/from-dom-queries-to-useref-in-react-a-journey-of-modern-dom-manipulation?utm_source=hashnode&utm_medium=feed)

[Apr 7, 2024](https://hashnode.com/posts/from-dom-queries-to-useref-in-react-a-journey-of-modern-dom-manipulation/66125bcf44edc8643944ea37)

### [Optimizing React Components: Harnessing the Power of Pure Component and React.memo()](https://codecraftbyankita.hashnode.dev/optimizing-react-components-harnessing-the-power-of-pure-component-and-reactmemo?utm_source=hashnode&utm_medium=feed)

What is a Pure component and pure function? Based on the concept of purity in programming paradigms, a function is said to be pure if it meets the following two conditions: Its return value is only determined by its input values Its return value is...

5 min read · [codecraftbyankita.hashnode.dev](https://codecraftbyankita.hashnode.dev/optimizing-react-components-harnessing-the-power-of-pure-component-and-reactmemo?utm_source=hashnode&utm_medium=feed)

[Mar 23, 2024](https://hashnode.com/posts/optimizing-react-components-harnessing-the-power-of-pure-component-and-reactmemo/65fe74fa4d7fc5127c822e98)
