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

<br> rendered after hydration but not SSR #23

Open
el-schneider opened this issue Mar 8, 2023 · 1 comment
Open

<br> rendered after hydration but not SSR #23

el-schneider opened this issue Mar 8, 2023 · 1 comment

Comments

@el-schneider
Copy link

el-schneider commented Mar 8, 2023

Hard breaks are not being rendered in the server-side output, causing a lot of LS on hydration.

Edit1: More specifically a node like this:

{
    "_key": "f928dd32752c",
    "_type": "span",
    "marks": [],
    "text": "\n"
}

Edit2: actually it's very visible here: https://svelte-portabletext.sanity.build/hard-breaks

@Renkas
Copy link

Renkas commented Apr 13, 2024

How to get around this?
What is blocking the fix for this?

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

No branches or pull requests

2 participants