thomasboyt / react-pikaday

A React component wrapper around Pikaday
111 stars 31 forks source link

Problem with last react version #13

Closed ciaoben closed 8 years ago

ciaoben commented 9 years ago

I am on the last version of React, and simply adding the example in the readme it gives me:

Download the React DevTools for a better development experience: http://fb.me/react-devtools

That I never see, I think that it is the older version of React that Pikaday uses as dep that print it.

And this:

Warning: ReactPikaday(...): No `render` method found on the returned component instance: you may have forgotten to define `render` in your component or you may have accidentally tried to render an element whose type is a function that isn't a React component.
main-build.self-56ecacf059add6f32320017b59616e6468b156824f571f7580019dee29c972c0.js?body=1:43883 Warning: Don't set the props property of the component. Mutate the existing props object instead.
inbox:5 Uncaught TypeError: Can't add property context, object is not extensible
zerkms commented 9 years ago

@thomasboyt could you please release another version that uses react as a peerDependencies, not dependencies?

It would fix this problem.

Yamakaky commented 8 years ago

Please ?

dubielzyk commented 8 years ago

I'm getting this issue too. Would be great to get an update :+1: