sprite-react
sprite-react copied to clipboard
Rendering spritejs elements with React.
Just update the `createElement` API, the example seems work correctly. Not quite sure if there are other missing things
Uncaught Invariant Violation: Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.
/Users/linjinchun/node_modules/spritejs/dist/spritejs.es6.js Module parse failed: Unexpected token (3907:11) You may need an appropriate loader to handle this file type. | } | | return { ...elementDescriptor, | | finisher(klass) {
在使用create-react-app创建的项目中出现了如下的错误。 ```html Target container is not a DOM element. 24 | 25 | ReactDOM.render( 26 | > 27 | | ^ 28 | 29 | 30 | ``` 请问你们使用有问题吗?
这个项目不更新了吗
React 版本在 16.6+ 之后会报如上错误,我猜是对应 react-reconciler 版本太低了。