Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React: Props - Update from class to function based components #4788 #5911

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

thedarkking01
Copy link

@thedarkking01 thedarkking01 commented Jan 2, 2025

Description

Updated the documentation for React props to reflect the usage in functional components. The change includes modifying examples and explanations to use functional components instead of class components.

Issue Solved

Closes #4788

Type of Change

  • Updating the documentation

Checklist

  • All writings are my own.
  • My entry follows the Codecademy Docs style guide.
  • My changes generate no new warnings.
  • I have performed a self-review of my own writing and code.
  • I have checked my entry and corrected any misspellings.
  • I have made corresponding changes to the documentation if needed.
  • I have confirmed my changes are not being pushed from my forked main branch.
  • I have confirmed that I'm pushing from a new branch named after the changes I'm making.
  • I have linked any issues that are relevant to this PR in the Issues Solved section.

@CLAassistant
Copy link

CLAassistant commented Jan 2, 2025

CLA assistant check
All committers have signed the CLA.

@thedarkking01 thedarkking01 reopened this Jan 2, 2025
@mamtawardhani mamtawardhani self-assigned this Jan 7, 2025
@mamtawardhani mamtawardhani added enhancement New feature or request react React entries status: under review Issue or PR is currently being reviewed labels Jan 7, 2025
minor fixes
Copy link
Collaborator

@mamtawardhani mamtawardhani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for contributing to Codecademy Docs @thedarkking01 😄

The entry looks good for a second round of review! 🚀

@dakshdeepHERE dakshdeepHERE self-assigned this Jan 8, 2025
@dakshdeepHERE dakshdeepHERE added status: under review Issue or PR is currently being reviewed and removed status: ready for next review labels Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request react React entries status: review 1️⃣ completed status: under review Issue or PR is currently being reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Edit] React: Props - Update from class to function based components
4 participants