Matt Miller

Results 25 comments of Matt Miller

I get `ReferenceError: Unknown plugin "transform-react-binding" specified in "base"` when attempting to load my app with this plugin, is that the same issue as this by any chance?

I was too lazy to fork it, so I made a very shameful hack. If anyone else chances across this, beware that it's pretty terrible, but it's the quickest fix....

Good to know. This would be an extremely useful Babel extension, do you know if anyone has made something similar that does this binding?

Awesome! I'm surprised to see so little traction with this plugin, seems like a major nice-to-have in the React world.

I finally saw this -- so sorry, haven't been maintaining this project in ages and don't really get into Webpack much at all these days. I just updated my readme...

The peer dependency is for 2.x. I haven’t verified this plugin’s compatibility with 3.x.

Change `global: 'ReactDom'` to `global: 'ReactDOM'`. The compiled version of react-dom exports a global object called `ReactDOM`. You can continue to import it as `ReactDom`.

I see your error message says `ReferenceError: ztree is not defined`. It might be because you imported it as `zTree` instead of `ztree`. Most likely you have code referencing it...

Oh! Yeah that would make sense, it's common for jQuery modules to just mutate the jQuery object instead. You should just use `import 'ztree';` since there is no export for...

I’m not sure the answer to your first question because I haven’t used zTree, but I imagine you should just be able to use zTree without any imports at all....