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

Custom element props not showing after switching chat or refreshing the page, Persistency issue #1799

Open
komikndr opened this issue Jan 24, 2025 · 0 comments
Labels
bug Something isn't working data layer Pertains to data layers.

Comments

@komikndr
Copy link

Information

  1. I am using a custom data layer with PostgreSQL (SQLAlchemy) and MinIO.
  2. I am unsure whether this issue is a bug or my mistake, but I am inclined to believe it is the latter.

Checklist

  1. Other elements, such as Image, DataFrame, and Plotly, have been tested and are fully functional.
  2. The custom element exists and is successfully populated in both PostgreSQL and MinIO.

When I send a custom element using .send(), its props are successfully populated. However, if I refresh the page, I only see a blank UI without any props.

As a sanity check, I created a DataFrame, refreshed the page, and inspected the browser network activity. The DataFrame data and its corresponding UI component were successfully loaded.

Image

  1. But if i am using my own component

Image

What it supposed to be

Image

And yes this is from the example of custom element. My gut feeling is i should implement update method on the JSX file

@dosubot dosubot bot added bug Something isn't working data layer Pertains to data layers. labels Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working data layer Pertains to data layers.
Projects
None yet
Development

No branches or pull requests

1 participant