React 15, Meteor 1.3, updated and cleaned deps, updated karma and eslint fixs#140
React 15, Meteor 1.3, updated and cleaned deps, updated karma and eslint fixs#140Mokto wants to merge 10 commits intojedwards1211:masterfrom
Conversation
This reverts commit 0cd798c.
|
Please remove |
|
(I understand that some |
|
Just look at the number of stylistic rules that don't have an automatic fix yet could be fixed automatically. It's inhumane. |
|
Ok, I will be doing this this sunday ;) |
|
Sorry, it's been a long week. Thanks for making this PR! I'd be happy to revert the eslint config myself. |
|
Also, webpack-dev-server@1.14.1 may still not support websocket proxying -- I will have to check. If not, I will merge it into my fork that does support proxying and use that in this PR. |
|
I just checked, webpack-dev-server@1.14.1 doesn't support websocket proxying -- they claim this won't be fixed until verson 2. I use forks of major projects in this app skeleton for good reason ;) |
|
I'm getting this error when I try to run it: meteor/react-packages#179 Not sure how it worked for you, but I don't think Meteor 1.3 with their React packages is ready for prime time (for example see here: meteor/react-packages/issues/152) Also, we should probably figure out how to be importing meteor files instead of using global variables, before releasing official 1.3 support in this project. |
|
For createContainer error, I created a package.json in meteor_core which includes react-addons-pure-render-mixin and react 15.0.2. Maybe we should automate install ? |
|
When you say import meteor files, you mean something like Please let me know if you need me to do anything ;) |
|
@Mokto that's not really an appropriate fix for createContainer because with React also getting built into the webpack bundle, the one from a package.json in meteor_core is a duplicate. One can use webpack externals to load the one from Meteor, but really, |
|
You are absolutely right @jedwards1211. Importing createContainer does not work. I have two related questions :
|
As far as 1), I'm not sure about importing Meteor. But you could import ReactMeteorData, because https://github.com/meteor/react-packages has a |
Meteor.startup(() => {
ReactDOM.render(<App />, document.getElementById('root'));
}); |
|
It doesn't install because they need to add a version number to their It doesn't matter if import ReactMeteorData from 'react-packages/packages/react-meteor-data/ReactMeteorData'(though I think they should rename it to |
|
I'm really interested in this. I've followed a similar process and I'm stuck at trying to |
|
@alexpriceonline what happens when you do that? |
|
|
|
@alexpriceonline I figured it out. To get |
|
Though @Mokto do Meteor's global vars still exist in 1.3? It would seem like it since your code changes don't include any |
No description provided.