reflex
reflex copied to clipboard
Get page route using a name
It would be really useful if we could supply a name when adding pages and then get a page URL using the name.
ex
app = pc.App()
app.add_page(about, router="/route", name="about-page")
# inside state
self.reverse_page_route("about-page")
If this approach is correct I can work on a PR for this.