Open PCreations opened 8 years ago
The issue with 'Only a ReactOwner can have refs' is because of multiple packages of React.
Bundle dist/react-atellier.js
should be bundled without React inside.
As temporary solution (if you use webpack in your project), you can copy source files and webpack configs from atellier and import directly in your project.
More description about this issue found here
@PCreations Can we close this issue?
If it has been fixed, yes, sure :)
@PCreations please check if it has been fixed for you.
In the webpack config, the following option should be added to avoid bundling react with this package :
externals: { 'react': 'react', 'react-dom': 'react-dom' },
This fixes the issue relative to multiple version of React such as 'Only a ReactOwner can have refs' (see #32)