-
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/lib/* for plugins #1906
Comments
Very much agree with this issue, the only way we (react-bootstrap project) have been able to support both amd/bower and cjs/npm environments whilst using stuff in |
Can everyone who's interested in this list the specific modules/functions you're interested in? We intentionally ship a small public API so that we can feel free to make internal changes. |
I guess the main ones I'm using right now are |
We also use |
cx is public as React.addons.classSet so that falls into almost the same category as cloneWithProps. What are you using EventListener for? |
We use EventListener to bind to global events with IE8 support. |
Okay, going to count that feature request as a vote for #285. |
Yes #285 would be prefect for what we are doing! Also |
+1 |
It's unlikely we'll ever expose ReactTransitionEvents as a public API as it's just a thin wrapper around browser events and is used only in ReactCSSTransitionGroup, not more widely. (Essentially, we don't want to commit to supporting that module.) |
That makes perfect sense, of course. It just seems so unnecessary to duplicate functionality like that when it’s “already there”. |
It's clear now that if you're using internals, you're using them at your own risk. Going to close this for now. If anyone knows a specific internal they'd like to expose, please follow up in a separate issue. |
React’s official policy on these helpers is “use at your own risk”: - facebook/react#1906 (comment) - facebook/react#2251 (comment) - facebook/react#2317
React’s official policy on these helpers is “use at your own risk”: - facebook/react#1906 (comment) - facebook/react#2251 (comment) - facebook/react#2317
React’s official policy on these helpers is “use at your own risk”: - facebook/react#1906 (comment) - facebook/react#2251 (comment) - facebook/react#2317
React’s official policy on these helpers is “use at your own risk”: - facebook/react#1906 (comment) - facebook/react#2251 (comment) - facebook/react#2317
It's currently difficult (impossible?) to create plugins for React that use any of the stuff in
lib
without using crazy hacks.What's the best way to do this? Separate modules?
The text was updated successfully, but these errors were encountered: