Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Use reactjs offical proptypes lib. #352

Closed
wants to merge 1 commit into from

Conversation

tkh44
Copy link
Contributor

@tkh44 tkh44 commented Apr 8, 2017

No description provided.

@developit
Copy link
Member

Oooh, it's 1kb instead of 1.6kb too!

@developit
Copy link
Member

Hmm - looks like its a noop in prod but fairly large in dev.

I'm getting an error though when I try to emulate this on jsfiddle: it seems like the new prop-types module doesn't allow manual validation? They require that you have access to an internal object for some reason:
https://jsfiddle.net/developit/agc04zgv/

@tkh44
Copy link
Contributor Author

tkh44 commented Apr 8, 2017

@developit have you tried in combination with #350? I've been running this combo locally with success.

@developit
Copy link
Member

@tkh44 Are we good to merge #359 instead of this since it fixes the checkPropTypes strictness issue?

@tkh44
Copy link
Contributor Author

tkh44 commented Apr 15, 2017

Yes @developit. Ill go ahead and close this PR.

@tkh44 tkh44 closed this Apr 15, 2017
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.

None yet

2 participants