Skip to content

2.0.0-beta.15 Many hydration bugs #2801

Description

@dangkyokhoang

Describe the bug

Bug 1: Plain simple hydration issue. Try clicking Refreshing several times.
Bug 2: JSX syntax {data().value && <h4>{data().value}</h4>} causes bug in createMemo order. keyFn memo returns an object instead of the path string. See console logs.
Bug 3: Loading > Errored > Nested async memo causes the page to load forever. SSR stream transform exceeded maximum lifetime (120000ms), forcing cleanup
Bug 4: createEffect on async memo causes the page to load forever.
Bug 5: Reusing promise stored in global cache doesn't work.
Bug 6: Rendering {data()} where data() is an object causes infinite loop. Does not loop but logs errors in Vite Nitro SSR reproduction.

Your Example Website or App

Tanstack SSR
https://stackblitz.com/edit/solidjs-templates-jskxvhkj?file=src%2Froutes%2Fhydration-bug-1.tsx

Vite Nitro SSR
https://stackblitz.com/edit/nitrojs-nitro-6gibxz9z?file=src%2Froutes%2Findex.tsx

Steps to Reproduce the Bug or Issue

Go the the link above.

Expected behavior

No bugs.

Screenshots or Videos

No response

Platform

Doesn't matter.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions