react-polymer icon indicating copy to clipboard operation
react-polymer copied to clipboard

Broken dependency?

Open amahdy opened this issue 7 years ago • 1 comments

I'm not sure if my setup is wrong or this is an issue with React 16, I simply created an empty react app, then npm installed react-polymer, and added this line:

import reactPolymer from 'react-polymer'

And result is:

`Failed to compile.

./node_modules/react-polymer/index.js
Module not found: Can't resolve 'react-dom/lib/DOMPropertyOperations' in '[]/node_modules/react-polymer'

amahdy avatar Jan 19 '18 00:01 amahdy

I can confirm that my setup works fine with React 15. Seems that this library is not optimized for React 16.

amahdy avatar Jan 19 '18 00:01 amahdy