An open API service indexing awesome lists of open source software.

https://github.com/puyafazlali/react-essentials-playground

A React mini-project built while learning core concepts like Components, JSX, Props, and State. Interactive and beginner-friendly.
https://github.com/puyafazlali/react-essentials-playground

beginner-project javascript jsx learning react react-components react-hooks react-props react-state vite

Last synced: about 2 months ago
JSON representation

A React mini-project built while learning core concepts like Components, JSX, Props, and State. Interactive and beginner-friendly.

Awesome Lists containing this project

README

          

# 🧠 React Essentials Playground

This is a small project built during my learning journey through the [React - The Complete Guide (incl. Redux)](https://www.udemy.com/course/react-the-complete-guide-incl-redux/) course on Udemy.
This project focuses on fundamental React concepts like **Components, JSX, Props, and State**β€”all wrapped in an interactive playground.

## πŸ“Έ Preview

![Alt text](images/react-essentials-screenshot.PNG)

## 🧩 Features

- πŸ’‘ Explanation of core React concepts:

- Components
- JSX
- Props
- State

- πŸ”˜ Tab-based UI to display different examples interactively.
- 🧼 Clean file structure with reusable components.

## πŸ“‚ Project Structure

src/
β”œβ”€β”€ assets/ # Icons & images
β”œβ”€β”€ components/ # Reusable React components
β”‚ β”œβ”€β”€ Header/
β”‚ β”œβ”€β”€ CoreConcept.jsx
β”‚ └── TabButton.jsx
β”œβ”€β”€ App.jsx # Main App component
β”œβ”€β”€ data.js # Static data for examples & core concepts
└── index.css # Global styles

## 🧠 What I Learned

This section of the course covered:

- The role of components in React apps and how they form a tree structure.
- JSX syntax and dynamic value output.
- Props and the different ways to pass data between components.
- Event handling and state management using React hooks.
- Component composition and usage of `children`.
- Styling strategies and best practices.

## πŸš€ Getting Started

1. **Clone the repo:**

`git clone https://github.com/your-username/react-essentials-playground.git

cd react-essentials-playground`

2. **Install dependencies:**

`npm install`

3. **Start the dev server:**

`npm run dev`

4. Open your browser and go to the provided URL in your terminal.

## πŸ“š Built With

- [React](https://reactjs.org/)
- [Vite](https://vitejs.dev/) - blazing fast dev environment
- Basic CSS styling

## πŸ“– Course Info

**Course:** React - The Complete Guide (incl. Redux)
**Instructor:** Maximilian SchwarzmΓΌller
**Section:** _React Essentials - Components, JSX, Props, State & More_