Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tiana-coker/learning-react
https://github.com/tiana-coker/learning-react
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/tiana-coker/learning-react
- Owner: Tiana-Coker
- Created: 2024-07-16T16:26:21.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-18T00:08:06.000Z (6 months ago)
- Last Synced: 2024-11-06T20:25:26.757Z (3 months ago)
- Language: JavaScript
- Size: 57.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Learning React Journey
This repository documents my journey learning React, organized by branches for each lesson.
## Lesson 1: Introduction to Components
Learnt the basics of React components.
## Lesson 2: Creating Card Components
In this lesson, I learnt how to create card components in React:
- Designed a Card component to display content in a structured format.
- Implemented styles to make the Card component visually appealing.## Lesson 3: Styling React Components with CSS
In this lesson, I learnt how to style React components using different methods:
- Inline styles
- CSS Modules
- External CSS stylesheets## Lesson 4: Understanding Props, PropTypes, and DefaultProps
In this lesson, I learned about:
- Passing data to components using props.
- Validating prop types using `propTypes`.
- Setting default values for props using `defaultProps`.## Lesson 5: Conditional Rendering
In this lesson, I learned about conditional rendering in React:
- Rendering elements based on conditions using `if` statements.
- Using ternary operators for conditional rendering.