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

Linked article on defaultProps docs is paywalled #695

Open
joeedh opened this issue Dec 13, 2023 · 3 comments
Open

Linked article on defaultProps docs is paywalled #695

joeedh opened this issue Dec 13, 2023 · 3 comments

Comments

@joeedh
Copy link

joeedh commented Dec 13, 2023

The linked article here is behind a paywall (here is the actual article)

Note that the link in the post to the author's personal blog appears to be dead.

@filiptammergard
Copy link
Collaborator

I think we should revamp the defaultProps page entirely, to make it clear that it's discouraged and link to React docs for default values instead: https://react.dev/learn/passing-props-to-a-component#specifying-a-default-value-for-a-prop

Wanna contribute @joeedh?

@sasirura
Copy link
Contributor

sasirura commented Feb 7, 2024

is this still there ? can I work on this ?

@filiptammergard
Copy link
Collaborator

is this still there ? can I work on this ?

Feel free!

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