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

Handle Server-side History Changes #19

Closed
rmorshea opened this issue May 11, 2023 · 3 comments
Closed

Handle Server-side History Changes #19

rmorshea opened this issue May 11, 2023 · 3 comments
Assignees

Comments

@rmorshea
Copy link
Contributor

Right now, there is not way to trigger changes in history that will modify the client-side history as well. This is not presently feasible without changes to ReactPy core since there is no way for server-side components to send messages to client-side components - only client-side components can send messages to server-side ones.

@rmorshea rmorshea self-assigned this May 11, 2023
@Archmonger
Copy link
Contributor

What do you mean by history? VDOM transformation history? Or browser URL history?

@rmorshea
Copy link
Contributor Author

rmorshea commented May 26, 2023

Ok, my initial statement that this is not presently feasible isn't true. React Router uses a <Navigate> component that, if displayed, will change the browsers current URL. This could easily be implemented.

@Archmonger
Copy link
Contributor

Closed in favor of #26

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

2 participants