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

"Accessing state variables on different pages" example code could be improved #1220

Open
stock90975 opened this issue Feb 23, 2025 · 1 comment

Comments

@stock90975
Copy link
Contributor

https://reflex.dev/docs/vars/base-vars/#accessing-state-variables-on-different-pages

f"Current Price: reflex___state____state__flexdown___modules____a4e3de79f19b87b4f4fce3d5f729c6b6b225d8d968533932d2e49adf411f2694____ticker_state.price",

could be replaced with
f"Current Price: {TickerState.price}"

code not runnable as is, lacks

import reflex as rx

@rx.page...

Copy link

linear bot commented Feb 23, 2025

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

1 participant