I have successfully managed to render a React component inside of ember. You can see the relevant code here.
The basics being adding an addon, that uses the preprocessTree
hook, to use broccoli-react
to parse the jsx files as per here. And a ReactComponent
(which is an ember component) to wrap any react component.
This works well in ember cli 2.11.0 and 2.12.0, but in 2.13.0 and 2.14.0 something has changed and I can't figure out what.
I have narrowed the error down to this line in ember-resolver, for some reason this._moduleRegistry
in the newer versions don't have the react component but the older versions do...
Any ideas?
Aucun commentaire:
Enregistrer un commentaire