Skip to content
This repository was archived by the owner on Jun 26, 2020. It is now read-only.

Options to hide <ReactCSSTransitionGroup /> #211

Closed
Huxpro opened this issue Sep 16, 2015 · 3 comments
Closed

Options to hide <ReactCSSTransitionGroup /> #211

Huxpro opened this issue Sep 16, 2015 · 3 comments

Comments

@Huxpro
Copy link

Huxpro commented Sep 16, 2015

<ReactCSSTransitionGroup /> is really an eyesore when we inspect component hierarchy seeing it is really frequently used to wrap things.
So I think giving an options to hide it may be a good solution.
Thanks

@jaredly
Copy link
Contributor

jaredly commented Sep 16, 2015

Yeah, the Relay team was also interested in this -- being able to hide the "Relay(Something)" wrapper components.

Do you have any ideas about the right way to expose this in the UI? I'd hate to start automatically hiding things and not have a good way to indicate 1) that things have been hidden, and 2) how to un-hide them

@Huxpro
Copy link
Author

Huxpro commented Sep 22, 2015

Well...In my view, every component is default displayed, no necessity to auto hiding it. Just support a simple checkbox to hide <ReactCSSTransitionGroup /> or <Relay-something /> may be the easiest and quickest solution to do it, or you can support a textfield to let user to find and hide some specific component which they want to?

@gaearon
Copy link
Contributor

gaearon commented Aug 19, 2016

I’m closing because we definitely won’t be adding a checkbox specifically for ReactCSSTransitionGroup. If you have a more generic proposal for hiding wrapper components, please file another issue and let’s discuss it there. Thanks!

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

3 participants