Skip to content
This repository was archived by the owner on Mar 22, 2023. It is now read-only.

Conversation

@fr1n63
Copy link

@fr1n63 fr1n63 commented Dec 23, 2016

Whenever you try and apply styles through html css - you're using propType functions directly which is throwing warnings that it will be removed in the next major version.

I understand why it's not feasible to use the standalone PropTypes package directly, as it isn't possible to infer the PropTypes functions from 'TextStylePropTypes' etc.

The original code would fail silently on invalid styles, I'm not entirely convinced that is the correct decision. So this basically removes the silent failure highlighting errors in styling, and removes the dependancy on PropTypes.

I've also bumped buffer to 5.0.0 - 4.9.1 was causing some errors with the Object.assign polyfill.

@fr1n63
Copy link
Author

fr1n63 commented Jan 23, 2017

Works for me...

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.

3 participants