Codecademy / docs

Codecademy Docs is a collection of information for all things code. 📕
https://www.codecademy.com/resources/docs
698 stars 3.24k forks source link

[Edit] React: Props - Update from class to function based components #4788

Open roryyeung opened 1 week ago

roryyeung commented 1 week ago

Type of Edit (select all that apply)

Add new content (definitions, codeblocks, etc.)

Description (optional)

Page still uses class based components:

https://www.codecademy.com/resources/docs/react/props

The course currently uses function based components.

Should we update this?

Code of Conduct

For Maintainers

Linchihj commented 1 week ago

Hi @roryyeung, I can help fix any typos in the document. Would you like me to help you with this task?

Linchihj commented 1 week ago

Sorry, please don't assign this task to me. I realized this is out of my scope.

ishg-153 commented 1 week ago

@roryyeung Please remember for future contributions that you must ask to be assigned to one of the available issues and once assigned you can create a PR for that issue. This stands true even when you suggest the new issue, because we need to evaluate whether this change needs to be made to docs.

ishg-153 commented 1 week ago

@roryyeung You're Assigned!🎉