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

Discussion: Rewrite #156

Closed
wants to merge 7 commits into from
Closed

Discussion: Rewrite #156

wants to merge 7 commits into from

Conversation

STRML
Copy link
Contributor

@STRML STRML commented Jun 30, 2017

I've rewritten this module as react-portal-minimal, which contains many of the changes we discussed in #121, removes all internal state, halves the size of the module, supports className (again), and removes most optional props, intending to make <Portal> a better building block for components that only need the subtree hoisting.

More featureful components could be built on top of this new <Portal>, but in my opinion options like closeOnEsc seem to cause more problems than they are worth to have in the core of this module.

I don't intend for this PR to be merged as stated - it contains a package.json rename & some tags - but I'd like to you have a look at it, and if you like the direction, I'll rebase it for a clean merge.

@tajo
Copy link
Owner

tajo commented Jul 17, 2017

Thanks! I'll look into. I'm going to use react-portal for one of our projects, so things should start moving again.

@tajo tajo added this to the v4 milestone Jul 29, 2017
@tajo tajo mentioned this pull request Jul 30, 2017
@tajo
Copy link
Owner

tajo commented Oct 1, 2017

Rewritten: #157

@tajo tajo closed this Oct 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants