revivek / oy

Render HTML emails on the server with React.
MIT License
834 stars 47 forks source link

Use PropTypes from prop-types package instead of React.PropTypes #72

Closed Rauttis closed 7 years ago

Rauttis commented 7 years ago

Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.

React.PropTypes is deprecated since 15.5 and will be removed in the future.

Rendez commented 7 years ago

This will need a version bump and Changelog update by @revivek

revivek commented 7 years ago

Will take a look this weekend. I've been traveling unplugged for a few weeks.

crazyx13th commented 7 years ago

if I install this module over github I see the prop-types package, but over npm it's React.PropTypes?! Both version 0.8.0 and I "npm cache clean" before grafik

revivek commented 7 years ago

Apologies—I forgot to bump the version and publish. Please try installing again using 0.9.0.