A curated collection of modern React mini-projects built with Vite, showcasing essential React concepts and practical implementations. Perfect for learning React fundamentals through hands-on projects.
Dynamic background color changer with interactive controls. Learn state management and event handling.
- Tech: React, Hooks (useState)
- Features: Color picker, random color generation
Generate secure random passwords with customizable options. Perfect for understanding component logic.
- Tech: React, Hooks
- Features: Length customization, character type selection, copy to clipboard
Real-time currency conversion using live exchange rates. Demonstrates API integration and data fetching.
- Tech: React, Custom Hooks, API Integration
- Features: Real-time rates, multiple currency support, dynamic calculations
Complete routing implementation with multiple pages and navigation. Master React Router concepts.
- Tech: React Router v6, Nested Routes
- Features: Multi-page navigation, dynamic routes, layout persistence
User authentication context implementation. Learn Context API fundamentals.
- Tech: React Context API, Context Provider
- Features: User login/logout, global state management
Dynamic light/dark theme switching with context API. Advanced Context API usage.
- Tech: React Context API, useContext Hook
- Features: Theme persistence, multiple components, seamless switching
- Node.js (v16 or higher)
- npm or yarn
- Clone the repository:
git clone https://github.com/Loki-Snape/Basic-React.git
cd Basic-React- Navigate to any project:
cd 01_BackgroundChanger- Install dependencies:
npm install- Start the development server:
npm run devBasic-React/
├── 01_BackgroundChanger/
├── 02_PasswordGenerator/
├── 03_CurrencyConverter/
├── 04_Router/
├── 05_miniContext/
├── 06_ThemeSwitcher/
└── index.html (Landing Page)
- Frontend Framework: React 18+
- Build Tool: Vite
- Styling: CSS3
- State Management: Hooks, Context API
- Routing: React Router v6
- Linting: ESLint
- Start with Background Changer - Basic state management
- Move to Password Generator - Logic and interactions
- Try Currency Converter - API integration and custom hooks
- Explore Router - Navigation and routing patterns
- Learn Mini Context - Context API basics
- Master Theme Switcher - Advanced context patterns
- ✅ Component Creation and Reusability
- ✅ State Management (useState, useContext)
- ✅ Side Effects (useEffect)
- ✅ Custom Hooks Development
- ✅ Event Handling
- ✅ Conditional Rendering
- ✅ List Rendering
- ✅ Form Handling
- ✅ API Integration
- ✅ Routing and Navigation
- ✅ Context API for Global State
Contributions are welcome! Feel free to fork and submit pull requests.
This project is open source and available for educational purposes.
Loki-Snape - React Learning Projects
Happy Coding! 🎉 Start with any project and level up your React skills!