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

Class Based Components: 'Additional resources' points to article which do not contain information on Class Based Components #29048

Open
3 tasks done
1Amal opened this issue Nov 4, 2024 · 4 comments
Assignees

Comments

@1Amal
Copy link
Contributor

1Amal commented Nov 4, 2024

Checks

Describe your suggestion

Class Based Components lesson, Additional resources points to old Thinking in React document which does not contain information about Class Based Components eventhough lesson indicates:

"In general, the React documentation on thinking in react is a really good place to look into, if you want more practice with class-based components, from scratch."

More appropriate Doc would be State and Lifecycle from the Old React Docs.
Also replace the text to indicate they are legacy documents for clarity:

"In general, the legacy React documentation on State and Lifecycle is a really good place to look into, if you want more practice with class-based components, from scratch."

Also it seems the new Thinking in React do not contain information about Class based components. Please review the suggested article and if not appropriate please suggest a different doc/article.

Path

Node / JS

Lesson Url

https://www.theodinproject.com/lessons/node-path-react-new-class-based-components

(Optional) Discord Name

No response

(Optional) Additional Comments

Love "The Odin Project" and Open Source and really happy to make any contribution I can make !
Kind regards,
Amal

@1Amal 1Amal changed the title Class Based Components: Class Based Components lesson 'Additional resources' points to article which do not contain infomation on Class Based Components Class Based Components: 'Additional resources' points to article which do not contain information on Class Based Components Nov 4, 2024
@CouchofTomato
Copy link
Member

@TheOdinProject/react Can someone take a look please.

@MaoShizhong
Copy link
Contributor

Thanks @1Amal. The currently linked doc is their legacy docs and it looks like they've gotten rid of the codesandboxes that used to showcase class components in context. Of course, the legacy docs were what we wanted for this lesson precisely because we're exposing class components instead of function components, which is what the current version of the docs page would use.

In all honesty, instead of finding a replacement resource, I'm happy for this additional resource to be removed entirely, and the default "no additional resources" placeholder put back instead. The state/lifecycle resource you linked won't be necessary since the current version of that (which does use class components) is assigned in the Lifecycle Methods lesson after.

I'll assign this to you to remove.

@1Amal
Copy link
Contributor Author

1Amal commented Nov 5, 2024

Hi @MaoShizhong & @CouchofTomato,
Thanks for assigning this to me and I will work on this as suggested !
Kind regards,
Amal

@1Amal 1Amal closed this as completed Nov 5, 2024
@1Amal
Copy link
Contributor Author

1Amal commented Nov 5, 2024

Hi guys,
Appologies as clicked the "Completed" button by mistake. Will reopen this and work on this !
Kind regards,
Amal

@1Amal 1Amal reopened this Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants