Kavindu Udara

Available Blogs

build and deploy project to github

12 February 2025

Great to hear that you're ready to publish your React project on GitHub Pages! Here are the steps you can follow to build and deploy your project: ...

Learn More

Components in React

01 December 2024

React components are the building blocks of React applications. They allow developers to break the UI into reusable, independent pieces. ...

Learn More

Conditional Rendering in React

01 December 2024

Conditional rendering allows components to decide what to display based on certain conditions. React provides several ways to implement conditional rendering, making it easy to display different UI elements based on the state or props of a component. ...

Learn More

Deploying a React App

01 December 2024

Deploying a React app involves several steps to prepare the app for production, including optimizing the build, configuring deployment settings, and choosing a hosting platform. This note focuses on the preparation of a React app for production using the npm run build command, which creates an optimized version of your app for deployment. ...

Learn More

Event Handling in React

01 December 2024

React provides a way to handle user interactions such as clicks, form submissions, and other events using event handlers. These handlers work similarly to JavaScript event listeners but are optimized for React's virtual DOM. ...

Learn More

Getting Started Guide

12 February 2025

Content of the guide... ...

Learn More

Lists and Keys in React

01 December 2024

Rendering lists in React is common for displaying multiple items dynamically. React provides a built-in way to efficiently render lists using JavaScript array methods like .map(). Additionally, using keys is important for optimizing rendering and maintaining state in lists. ...

Learn More

My First Blog Post

12 February 2025

Here is a bash script that creates a markdown file with the specified template in the directory 'public/assets/readmes/': ...

Learn More

Props in React

01 December 2024

Props (short for properties) are used to pass data from a parent component to a child component. Props are read-only, meaning they cannot be modified by the child component receiving them. ...

Learn More

React Fundamentals

01 December 2024
  1. Introduction ...
Learn More

React Lifecycle and Hooks

01 December 2024

React hooks allow functional components to manage side effects, state, and other lifecycle events. The introduction of hooks has simplified component lifecycle management and enabled functional components to become more powerful and feature-rich. ...

Learn More

React Reusable Components

01 December 2024
  • Reusable components are building blocks of a React application designed to be reused in multiple places. ...
Learn More

React Virtual DOM

01 December 2024
  • The Virtual DOM (VDOM) is a lightweight in-memory representation of the real DOM. ...
Learn More

Real World Examples of Apps Build With React

01 December 2024

This is some real world examples that build with react ...

Learn More

Setting Up the Development Environment for React With Vite

01 December 2024

1. Installing Node.js and npm

...

Learn More

State in React

01 December 2024

State is used to manage data that changes within a component. Unlike props, state is mutable and controlled by the component itself. ...

Learn More

Styling in React

01 December 2024

In React, styling can be done in multiple ways depending on your preferences and the requirements of the project. You can use inline styles, external CSS, CSS Modules, or even CSS-in-JS solutions like Styled Components and utility-first frameworks like Tailwind CSS. This note will explore these approaches and when to use each. ...

Learn More

What Is JSX TSX and How It Differs From HTML

01 December 2024
  • JSX (JavaScript XML): A syntax extension for JavaScript used in React to describe the UI structure. ...
Learn More

Whatsapp

12 February 2025

Yes, you can integrate WhatsApp into your web application using the WhatsApp Business API. This API allows you to send and receive messages, manage contacts, and automate interactions with users on WhatsApp. Here's how you can get started: ...

Learn More
123