This repository contains a series of React + Vite projects created to learn and practice
core React concepts, modern tools, and state management techniques.
Each project focuses on a specific topic to build a strong foundation in React development.
- Learned how to create a React project using Vite and understood how it differs from
create-react-app
. - Explored the .jsx file format and basic React project setup.
- Practiced state management with the
useState
hook. - Implemented button click events to increment and decrement a counter.
- Added conditional logic to prevent negative values.
- Installed and configured Tailwind CSS with Vite + React.
- Learned how to use utility-first classes for styling.
- Explored props-based styling with Tailwind.
- Used
useState
and inline styles to dynamically change background color on button clicks. - Practiced interactive UI updates in real time.
- Built a password generator with adjustable length, numbers, and special characters.
- Learned
useCallback
,useEffect
, anduseRef
hooks. - Implemented a copy-to-clipboard feature.
- Created a real-time currency converter using an external API.
- Learned to build custom hooks (
useCurrencyInfo
) and reusable components (InputBox
). - Practiced API fetching with the
fetch
method.
- Implemented multi-page navigation using React Router v6.
- Learned about nested routes, dynamic routes, and the
Outlet
component. - Practiced creating a shared Layout for multiple pages.
- Built a light/dark mode theme switcher using Context API for global state.
- Learned why and when to use Context API instead of prop drilling.
- Compared Context API to Redux for small applications.
- Created a fully functional Todo App with add, edit, update, and delete features.
- Managed global state using Context API for efficient state sharing.
- Rebuilt the Todo App using Redux for centralized state management.
- Learned to set up a Redux store, create actions and reducers,
and use hooks likeuseSelector
anduseDispatch
. - Compared Redux with Context API for scalable applications.
- React Fundamentals: Components, JSX, Props, and State
- React Hooks:
useState
,useEffect
,useCallback
,useRef
- Global State Management: Context API vs Redux
- Routing: React Router v6 with nested and dynamic routes
- Styling: Tailwind CSS and inline styles
- API Integration: Fetching and using external data
- Building Reusable Components and Custom Hooks
- Clone the repository:
git clone <repo-url>