-
Notifications
You must be signed in to change notification settings - Fork 72
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
Is this deprecated? #46
Comments
I think this library is not actively developed anymore. This is a very nice library and been using it since I first used react. I've sent an pull request that now uses the new React hooks api. #38 . I've also published it as |
It'd be a shame if this lib was abandoned as with the support for SSR it's still my goto portal implementation; seems much more powerful than native portals? |
Heyy @richardscarrott maybe you could checkout my fork Let me know if it works for you! :D |
@chardskarth many blessings on your family, your fork worked beautifully! I have been searching for this solution for a while and I was unable to cook it up myself, thank you so much! Do you have it published as an NPM package? I had to clone it and copy the source into my app. |
Hi @nickgraz glad to help! Yeah, this is published. You could do |
Removed react-gateway since last commit dates back November 2017 and React has had built-in Portals for a while now. It looks abandoned (see [this issue](cloudflare/react-gateway#46) and [this issue](cloudflare/react-gateway#32)).
Removed react-gateway since last commit dates back November 2017 and React has had built-in Portals for a while now. It looks abandoned (see [this issue](cloudflare/react-gateway#46) and [this issue](cloudflare/react-gateway#32)).
Hi @chardskarth does your fork support SSR? |
Not sure, haven't tested. 🤔 |
@chardskarth that was the primary reason I was using react-gateway over native portals. From my understanding, I actually don't think SSR portals are viable with React 18 / concurrent mode because all implementations I've seen (including this one) rely on impure instantiation / render fns where they modify context in |
I ended up pushing up a portal implementation we've been using internally that works with React 18 called React Teleportal -- it also doesn't support SSR, but I intend to figure out a concurrent-safe solution soon. |
Removed react-gateway since last commit dates back November 2017 and React has had built-in Portals for a while now. It looks abandoned (see [this issue](cloudflare/react-gateway#46) and [this issue](cloudflare/react-gateway#32)).
Removed react-gateway since last commit dates back November 2017 and React has had built-in Portals for a while now. It looks abandoned (see [this issue](cloudflare/react-gateway#46) and [this issue](cloudflare/react-gateway#32)).
Removed react-gateway since last commit dates back November 2017 and React has had built-in Portals for a while now. It looks abandoned (see [this issue](cloudflare/react-gateway#46) and [this issue](cloudflare/react-gateway#32)).
Removed react-gateway since last commit dates back November 2017 and React has had built-in Portals for a while now. It looks abandoned (see [this issue](cloudflare/react-gateway#46) and [this issue](cloudflare/react-gateway#32)).
Removed react-gateway since last commit dates back November 2017 and React has had built-in Portals for a while now. It looks abandoned (see [this issue](cloudflare/react-gateway#46) and [this issue](cloudflare/react-gateway#32)).
Removed react-gateway since last commit dates back November 2017 and React has had built-in Portals for a while now. It looks abandoned (see [this issue](cloudflare/react-gateway#46) and [this issue](cloudflare/react-gateway#32)).
No description provided.
The text was updated successfully, but these errors were encountered: