Skip to content

Conversation

evenstensberg
Copy link

Don't really know why 'oneOfType' is left alone in 'Link' while others are defined in 'PropTypes.js'.
Found it cleaner to remove 'oneOfType' from Link and describe it in PropTypes as the others. Sure @taion or @timdorr has some input on why this is bad, but was worth as shot.

Also, I didn't find this to collide with #3218

Lastly; I'm sorry for so many PR's. I learn from your replies, which helps me to be a better programmer, writing future code. I'm very thankful for you answering PR's instead of just closing them, which would be quite tempting, as you get a lot of issues and PR's that's not right.

@taion
Copy link
Contributor

taion commented Apr 11, 2016

See #3205 – I think I want to get rid of these prop type definitions entirely. Sorry, but thanks for the PR.

@taion taion closed this Apr 11, 2016
@lock lock bot locked as resolved and limited conversation to collaborators Jan 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants