-
Notifications
You must be signed in to change notification settings - Fork 22
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
Meteor 1.3 - React is not defined when using npm React #51
Comments
Okay. This is due to the reason that, we've multiple copies on React. Hope you are trying to use React as a node module. Right? Solution is to create a version of ReactLayout directly loaded from the npm. I'll work on it. |
Yep! React as a node module. I figured that was the issue. Thank you! |
Should react-mounter be permanently used instead of meteor-react-layout? |
Im using beta 4 of Meteor 1.3 and no issues. I doubt its an issue with react layout |
Dont install |
@SylarRuby I had not. This issue had already been closed. I was just wondering about the status of React Layout vs React Mounter in the future. |
Okay. You should not ReactLayout after Meteor 1.3+ |
Can you please explain why we shouldn't use ReactLayout with Meteor 1.3? I understand the double-React issue, however I was planning on forking ReactLayout so that it imports React from npm rather than using the meteor package. Are there any other incompatibilities that I should be aware of? I can't use react-mounter. I've just tried it and it breaks by project since it doesn't have server-side support. My project used to use FlowRouter SSR + ReactLayout quite happily. Thanks, Tim |
@timothyarmes react-mounter will be SSR ready soon. (in this week) |
@arunoda |
I'm using React from npm with Meteor 1.3 and am having issues getting FlowRouter + Meteor React Layout working.
If you import React in my routes.jsx file, you get this
The text was updated successfully, but these errors were encountered: