Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

How are JSX transformed #53

Open
giantelk opened this issue Mar 30, 2015 · 1 comment
Open

How are JSX transformed #53

giantelk opened this issue Mar 30, 2015 · 1 comment

Comments

@giantelk
Copy link

  • Can you update the docs to explain how JSX get's transformed to JavaScript using react-meteor?
  • Do you need require() statements when separate ReactJS into multiple files; or does Meteor's build system automatically take care of this?
@nivoc
Copy link

nivoc commented May 12, 2015

To your second Question: You don't need any require Statements. Meteor loads all files. Variables with var are filescoped and if you obmit the var you can access your component from other files.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants