Clara Situma

Clara Situma @csituma

About: i love technology I love simplifying complex topics.,and solving problems

Location:
Nairobi
Joined:
Sep 25, 2020

Clara Situma
articles - 33 total

USING VITE?, Upgrade to tailwindcss..version 4

Tailwind v3 (and earlier): The documented integration is via PostCSS. You install tailwindcss,...

Learn More 6 4Jun 10

hoisting

HOISTING IN JS (REFERENCE ERROR!!) Clara Situma ・ Dec 30 ...

Learn More 1 0Dec 30 '24

HOISTING IN JS (REFERENCE ERROR!!)

Understanding Hoisting in JavaScript Hoisting is one of the most fundamental concepts in JavaScript,...

Learn More 3 0Dec 30 '24

Export .env Quick and Easy

Export .env from Vercel: New Laptop, Old Project? No Problem! ...

Learn More 0 0Dec 7 '24

Export .env from Vercel: New Laptop, Old Project? No Problem!

Starting fresh on a new laptop or revisiting an old project doesn’t mean you’re stuck hunting for...

Learn More 8 0Dec 7 '24

5 Vercel Features Developers Absolutely Love

Vercel has been a game-changer for developers, redefining how we approach web development with tools...

Learn More 6 0Nov 20 '24

Deploying a Next.js application to Vercel (Beginner)

Deploying your Next.js application to Vercel is an easy process that ensures your project is live and...

Learn More 8 1Nov 20 '24

Must know blockchain Terminologies.

Hash: A hash is a unique string created to identify a specific set of data. It acts as a digital...

Learn More 12 3Apr 1 '24

WHAT IS GAS IN BLOCKCHAIN?

Whenever a transaction is executed on a blockchain, a miner or validator—someone operating the...

Learn More 5 0Mar 31 '24

React Usecallback for Kids/Beginners

Let's say we're making a webpage where we want to draw a smiley face every time we click a button....

Learn More 42 17Feb 8 '24

HTML IS JUST LIKE WRITING A WORD DOCUMENT

Let's look at a quick word document: Title: My First Document Welcome to my Document! This is a...

Learn More 2 0Jul 14 '23

Unraveling the Mysteries of Code: Decoding, Interpreting and Compiling

(Inspired by You don't know js- intro to programming -Summary) Introduction: Have you ever wondered...

Learn More 7 0Jun 26 '23

Test for dynamically created elements like time and token with jest(spys)

Jest is a popular JavaScript testing framework that provides a variety of powerful features for...

Learn More 3 0Jan 26 '23

Stubs/fakes(casting as a particular object)

Stubs are a key tool for software testing, allowing developers to test individual units of code in...

Learn More 4 0Jan 17 '23

UNIT TESTING WITH JEST (with example)

Unit testing is like when you play a game and you want to make sure all the pieces are working the...

Learn More 7 0Jan 16 '23

useReducer for dummies(kid friendly)

Imagine that you are in charge of keeping track of the snacks in your house. You have a bunch of...

Learn More 12 0Dec 27 '22

Easiest way to understand Pub/Sub System (kid friendly)

Imagine that you are in a library, and you want to borrow a book. You don't want to go to each shelf...

Learn More 5 0Dec 27 '22

useState vs useReducer - choose your champion 🤺

Below are two ways of implementing a simple counter in a React application: Here's how to achieve...

Learn More 5 1Dec 16 '22

useReducer hook in React (No redux here)

The useReducer is a hook that provides a way to manage state in a React component. Is it dependant...

Learn More 35 8Dec 15 '22

When do you use setState with a callback?

You would use a callback with the useState hook in a situation where the state update depends on the...

Learn More 19 1Dec 14 '22

WHY YOUR STATE IS BEHIND.(react.js)

So, here is our Scenario: This is a small application that takes in userInput and creates a search...

Learn More 6 2Dec 10 '22

Inversion of Control vs Dependency injection - can they be used interchangeably?

Inversion of control (IoC) and dependency injection (DI) are related concepts, but they are not the...

Learn More 4 0Dec 9 '22

DEPENDENCY INJECTION.

Dependency injection is a design pattern where the dependencies of a component are provided to that...

Learn More 6 0Dec 9 '22

Do i need to use cleanup function on useEffect?

Whether or not you need to include a cleanup function in your useEffect hook depends on the type of...

Learn More 7 2Dec 8 '22

Why we use empty array with UseEffect

If you do not pass an empty array as an argument to useEffect, the effect will run on every render...

Learn More 26 18Dec 8 '22

Install NVM on Mac, Windows and Linux

Install on macOs To install NVM on macOS, you can use the Homebrew package manager. If you don't...

Learn More 10 0Dec 6 '22

YOUR SOLUTION IS NVM

So you've cloned a javascript framework repository, but soon as you try to run,"npm install", You're...

Learn More 3 4Dec 6 '22

Using Google Dorking to land a Job

A Google dork query, sometimes just referred to as a dork, is a search string or custom query that...

Learn More 71 0Nov 22 '22

20 SITES THAT REGULARLY POST REMOTE JOBS

The Future of Work is remote! One thing that's clear is that remote work is not going away. Here are...

Learn More 10 0Nov 22 '22

LESSON 1: BASIC COMMAND LINES

NB: Almost Everything is done on the keyboard and therefore keyboard shortcuts are your...

Learn More 3 0Apr 27 '22