Skip to content

Chamith-Dilshan/React_Basic_To_Advanced

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

20 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€ React Learning Projects

React + TypeScript + Tailwind + Vite

A comprehensive collection of React projects showcasing core concepts from basic components to advanced features

React TypeScript Tailwind Vite

๐ŸŽฏ Projects โ€ข ๐Ÿ“š Libraries โ€ข ๐Ÿง  Learning Points โ€ข ๐Ÿค Contribute


๐ŸŽฏ Projects Showcase

๐Ÿ“„ Static Pages

Responsive layouts with semantic HTML and modern CSS techniques

๐Ÿ–ฅ๏ธ Desktop View ๐Ÿ“ฑ Mobile View
Desktop Mobile

โœˆ๏ธ Travel Journal

Dynamic data rendering with responsive card layouts

๐Ÿ–ฅ๏ธ Desktop View ๐Ÿ“ฑ Mobile View
Desktop Mobile

๐Ÿ“ Simple Form (React 19)

Modern form handling with React 19's new features

๐Ÿ–ฅ๏ธ Desktop View ๐Ÿ“ฑ Mobile View
Desktop Mobile

๐Ÿค– Chef AI

AI-powered recipe generation with HTTP streaming

๐Ÿ–ฅ๏ธ Desktop View ๐Ÿ“ฑ Mobile View
Desktop Mobile

๐Ÿ˜‚ Meme Generator

Dynamic meme creation with external API integration

๐Ÿ–ฅ๏ธ Desktop View ๐Ÿ“ฑ Mobile View
Desktop Mobile

๐ŸŽฒ Tenzies Game

Interactive dice game with animations and accessibility

๐Ÿ–ฅ๏ธ Desktop View ๐Ÿ“ฑ Mobile View
Desktop Mobile

โš”๏ธ Assembly Endgame

Programming-themed word game with visual effects

๐Ÿ–ฅ๏ธ Desktop View ๐Ÿ“ฑ Mobile View
Desktop Mobile

๐Ÿ“š Featured Libraries

Powerful tools that enhance development experience and user interactions

๐ŸŽจ tailwind-merge

Smart CSS class merging for conflict-free styling

import { twMerge } from 'tailwind-merge';

const mergedClasses = twMerge(
  'bg-indigo-600 hover:bg-indigo-700 text-white font-semibold px-6 py-2 rounded-md',
  containerClass
); 

๐ŸŽฏ react-icons

Tree-shakeable icon components from popular icon sets

import { FaPhone } from 'react-icons/fa';
const MyComponent = () => <FaPhone />;

๐Ÿ“ react-markdown

Secure Markdown to HTML rendering for dynamic content

import ReactMarkdown from 'react-markdown';
const MyComponent = () => <ReactMarkdown>{markdown}</ReactMarkdown>;

๐Ÿ”‘ nanoid

Tiny, secure, URL-friendly unique ID generator

import { nanoid } from 'nanoid';
const id = nanoid(); // "V1StGXR8_Z5jdHi6B-myT"

โšก gsap (GreenSock Animation Platform)

High-performance JavaScript animation library

import { gsap } from 'gsap';
gsap.to(element, { x: 100, duration: 2 });

๐ŸŽŠ react-confetti

Customizable confetti effects for celebrations

import Confetti from 'react-confetti';
const MyComponent = () => (
  <Confetti width={window.innerWidth} height={window.innerHeight} />
);

๐Ÿง  React Learning Points in This Repo

Comprehensive breakdown of React concepts, patterns, and best practices demonstrated in each project

๐Ÿ“‹ Quick Overview of Topics Covered
  • ๐ŸŽจ Layout & Responsive Design - Flexbox, Grid, Tailwind responsive patterns
  • ๐Ÿ”„ State Management - useState, useEffect, derived state, functional updates
  • ๐ŸŒ API Integration - HTTP streaming, data fetching, error handling
  • ๐Ÿ“ Form Handling - React 19 features, controlled/uncontrolled components
  • ๐ŸŽฎ Game Logic - Complex state management, win conditions, animations
  • โ™ฟ Accessibility - ARIA attributes, screen readers, keyboard navigation
  • ๐Ÿš€ Performance - Lazy initialization, cleanup patterns, optimization
  • ๐Ÿ”ง TypeScript - Interfaces, type safety, proper typing patterns


๐Ÿค Contributing & Support

Love this project? Here's how you can help! ๐Ÿ’ช

๐Ÿ› Report Bug โ€ข ๐Ÿ’ก Request Feature โ€ข ๐Ÿด Fork & Contribute

โญ Star this repository if it helped you!

GitHub stars GitHub forks

Built with โค๏ธ for the React community


This project is maintained by @Chamith-Dilshan

Releases

No releases published

Packages

No packages published

Languages