-
Notifications
You must be signed in to change notification settings - Fork 47k
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
Expose React.addons.* as react/addons/* on npm and deprecate react/addons #3780
Labels
Comments
cc @gaearon @iamdustan. This came out of the Twitter discussion as a possible way to start migrating to requiring of a single addon in a condoned way (without reaching directly into |
iamdustan
added a commit
to iamdustan/react
that referenced
this issue
Apr 29, 2015
iamdustan
added a commit
to iamdustan/react
that referenced
this issue
Apr 29, 2015
iamdustan
added a commit
to iamdustan/react
that referenced
this issue
Apr 29, 2015
This would be greatly appreciated. |
Sounds like a good plan to me! |
iamdustan
added a commit
to iamdustan/react
that referenced
this issue
Apr 29, 2015
sophiebits
added a commit
that referenced
this issue
Apr 29, 2015
npm build: create addons directory that loads from lib. Closes #3780
Please do! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The current system of packaging react/addons isn't great because you need to pull in all the addons even if you just want to use one of them. Instead, let's make it so you can do
require('react/addons/TransitionGroup')
and similar.This should be as simple as adding a few files to build/npm-react that require the (private) internal modules.
The text was updated successfully, but these errors were encountered: