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

Hydration fixes #317

Merged
merged 7 commits into from
Jun 15, 2019
Merged

Hydration fixes #317

merged 7 commits into from
Jun 15, 2019

Conversation

cgibbard
Copy link
Collaborator

In an attempt to fix hydration in the presence of executable-config, we add the option of marking tags with a "data-hydration-skip" attribute, and remove the "data-ssr" attribute from static rendering. Prior to this, tags without the "data-ssr" attribute would be skipped over by hydration, now that only occurs for tags with "data-hydration-skip", and everything else is matched. (We're still not yet checking to ensure attributes are equal.)

This seems to fix the interaction alongside the PR I'm about to make on Obelisk.

* origin/develop: (28 commits)
  Only allow jsaddle to load at most once
  Add runImmediateWidgetWithHeadAndBody; deprecate attachWidget''
  Fix hydration tests broken by new dependent-sum/map
  bump dependent-map version bound
  Fix errors introduced by recent JSM and UnrunnableT changes
  Relax version bound for dependent-sum*
  Replace hackage link with badge
  Fix hlint
  Bump upper bounds
  Add some type annotations to the hydration tests which fail to infer now
  Fix hlint errors in Reflex.Dom.Prerender
  Remove comment with obsolete contraint
  Fix all the UnrunnableT instances
  Remove unused import
  Use ReaderT to derive more instances for UnrunnableT
  Abstract out unrunnable pattern
  Add DomRenderHook instance for UnrunnableT
  Fix recursive Prerender constraint
  Add back recursive Client constraint
  Fix path reference from reflex-platform
  ...
@cgibbard cgibbard changed the title Hydration fixes WIP: Hydration fixes Jun 14, 2019
@cgibbard cgibbard changed the title WIP: Hydration fixes Hydration fixes Jun 14, 2019
…dration-fixes

* origin/aa-dependent-sum-0.5:
  Bump to dependent-sum 0.5
@ali-abrar ali-abrar merged commit adeee9d into develop Jun 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants