Describe the bug
import mesop as me
@me.page(path='/')
def main_page():
me.text("This is the main page.")
me.navigate('/login')
@me.page(path='/login')
def login_page():
me.text("This is the login page.")
With the code above, while I access root path, the URL in address bar changed to /login, but the page content does not change some time.
If I put a breakpoint in the login_page(), that would not stop.
To Reproduce
Steps to reproduce the behavior:
- Access
/ using the above code.
Expected behavior
The page really redirect to /login.
Screenshots

Desktop System Info
- OS: macOS
- Browser Chrome, Ark
- Version
- Chrome: 142.0.7444.60 (Official Build) (arm64)
- Ark: Version 1.120.0 (70500) Chromium Engine Version 142.0.7444.135
Additional context
Tried both mesop main.py and gunicorn.
Describe the bug
With the code above, while I access root path, the URL in address bar changed to
/login, but the page content does not change some time.If I put a breakpoint in the
login_page(), that would not stop.To Reproduce
Steps to reproduce the behavior:
/using the above code.Expected behavior
The page really redirect to
/login.Screenshots
Desktop System Info
Additional context
Tried both
mesop main.pyandgunicorn.