-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
component including '<Provider>' (preact-redux) replaced while rendering with merge #296
Comments
@csbun Yikes! This is due to how Preact tracks ownership of high order children. It looks like there might be a case here for switching to the innermost child owning the generated DOM. |
I've got a fix! 💃 |
Should I update preact or preact-redux? |
Not yet, still testing. |
The latest raft of updates (about to be released as |
Fix released in |
Great! 😊 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issue might related to #276 and #260 or might be an issue to preact-redux.
dependence:
environment:
Here is the example:
While client-side rendering with merge,
<App>
compared with DOM#my-app
:Here is what we see in Chrome DevTool 7s after server rendering:
Full example on CodePen. Much clear on the github-page (
not found image
request twice).The text was updated successfully, but these errors were encountered: