Skip to content
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

Rewrite "adding React to existing app" #988

Closed
gaearon opened this issue Jun 22, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@gaearon
Copy link
Member

commented Jun 22, 2018

We should throw this way and start over.

https://reactjs.org/docs/add-react-to-an-existing-app.html

Instead it should be two steps:

  • Add a React CDN script tag to your page
  • Run Babel CLI on a directory to transform JSX/ES6 files into ES5

That's it. No package managers, no minifiers, no bundlers, etc.
We should move all that jazz somewhere else.

If you're adding React to an existing app, it's not our concern how you minify/bundle/etc. If you don't want to, it's really your business.

Otherwise we're looking clowny with all this setup.

alexkrolick added a commit to alexkrolick/reactjs.org that referenced this issue Jun 23, 2018

alexkrolick added a commit to alexkrolick/reactjs.org that referenced this issue Jun 23, 2018

alexkrolick added a commit to alexkrolick/reactjs.org that referenced this issue Jun 23, 2018

@gaearon gaearon closed this in 6235231 Jun 26, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.