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

Frontend: Remove page reload functionality on network change #1276

Open
GabrielBuragev opened this issue Dec 16, 2022 · 0 comments
Open

Frontend: Remove page reload functionality on network change #1276

GabrielBuragev opened this issue Dec 16, 2022 · 0 comments
Labels
feature frontend 🍭 needs discussion Unclear issue description and needs further discussion before refinement can be done needs refinement Issues that have been align on and now need to go through the refinement process

Comments

@GabrielBuragev
Copy link
Contributor

Rationale

This has been a frustration to some of our internal team members as well as some of our community members.
Back then, when working on the initial beamer web app, i believe the decision has been made to play it really safe and do a page refresh every time the network has been changed to ensure app stability (all components update with a safe-state) for the chosen chain.

However, IMO, this can be avoided by rethinking our state (data) management in the app, or in other words, improve the
state <-> component connection by providing a single source of truth for the state of the app (easily achivable by using state management library like pinia).

Will this jeopardize security? Lets discuss.

References to discussions on this topic by other projects:

@andfletcher andfletcher added needs refinement Issues that have been align on and now need to go through the refinement process needs discussion Unclear issue description and needs further discussion before refinement can be done and removed needs refinement Issues that have been align on and now need to go through the refinement process labels Dec 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature frontend 🍭 needs discussion Unclear issue description and needs further discussion before refinement can be done needs refinement Issues that have been align on and now need to go through the refinement process
Projects
None yet
Development

No branches or pull requests

2 participants