Skip to content

Use outside of Next.js? #1

Open
@damassi

Description

Hi! Stumbled upon this repo while trying to implement the exact same thing and I'm quite impressed with your implementation. It is quite elegant.

I'm wondering, do you happen to have any thoughts about how this could be achieved outside of a next.js context? Using useServerInsertedHTML seems to be critical to inject things into the stream, as well as cleanup afterwards to avoid hydration mismatches, but implementing this function from scratch in a non next.js app is non-trivial. Have you happened to go down this route at all?

Thanks!

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions