i-like-robots / hyperons

🔥 The fastest JSX to string renderer on the server and in the browser.
https://www.npmjs.com/package/hyperons
MIT License
45 stars 4 forks source link

Support class based components #15

Closed i-like-robots closed 6 years ago

i-like-robots commented 6 years ago

Closes #11

I have not added support for lifecycle methods (componentWillMount()) because these are deprecated in React 16.4 in favour of setting state in the class constructor.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.2%) to 96.319% when pulling 621a3bc2cb296ec26954bb42fdbd069c25b3766f on support-class-based-components into a94e0d565ea655574ad11168d7e11572eeeb605f on master.