choojs / nanocomponent-adapters

🔌 - Convert a nanocomponent to a component for your favourite API or library (web components, (p)react, angular)
MIT License
96 stars 17 forks source link

Use react-create-class instead maybe #13

Closed bcomnes closed 7 years ago

bcomnes commented 7 years ago

https://facebook.github.io/react/docs/react-without-es6.html

yoshuawuyts commented 7 years ago

I thought this was getting deprecated?

On Wed, Aug 9, 2017, 03:12 Bret Comnes notifications@github.com wrote:

https://facebook.github.io/react/docs/react-without-es6.html

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/choojs/nanocomponent-adapters/issues/13, or mute the thread https://github.com/notifications/unsubscribe-auth/ACWlesafNQum4aKgSX4g1_qZZ2W3ifqRks5sWQd4gaJpZM4OxehM .

bcomnes commented 7 years ago

I thought it was the other way around ha. I'll have to dig into it some more.

toddself commented 7 years ago

it got moved into a separate package (and is deprecated in the main react package).

you should use https://www.npmjs.com/package/create-react-class