Skip to content

A tree hydrated but some attributes of the server rendered HTML didnt match the client properties JS error #5662

Description

@tim-haselhoff

Describe the bug
An error in the browser console gets thrown when running reflex:
A tree hydrated but some attributes of the server rendered HTML didn't match the client properties
A screenshot of the error is attached.

To Reproduce
Steps to reproduce the behavior:

  1. make a reflex app
  2. run reflex
  3. check the browser console
  • Code/Link to Repo:

Expected behavior
A clear and concise description of what you expected to happen.
The error should not be thrown

Screenshots
If applicable, add screenshots to help explain your problem.

Image

Specifics (please complete the following information):

  • Python Version: 3.13.5
  • Reflex Version: 0.8.5a2 but I also tested this with 0.8.5a1 where the same error occured
  • OS: Linux
  • Browser (Optional): Chrome

Additional context
I tried this with this minimal example when the error occured.

import reflex as rx


def index() -> rx.Component:
    return rx.text("Hello, Reflex!")


app = rx.App()
app.add_page(index)

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