-
Notifications
You must be signed in to change notification settings - Fork 74
React 15, Meteor 1.3, updated and cleaned deps, updated karma and eslint fixs #140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
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, [email protected] 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, [email protected] 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.