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

🐛 State is not consistent on navigation #171

Open
ciaranschutte opened this issue Apr 2, 2024 · 0 comments
Open

🐛 State is not consistent on navigation #171

ciaranschutte opened this issue Apr 2, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ciaranschutte
Copy link
Contributor

Describe the bug

State is not consistent on navigation causing unrelated components to refresh state and re-render.
Likely same as #78
Parts of the application flash between states. Eg. header bar on nav, page loads fully not isolated component SPA

I believe it's a top level provider changing state (possibly the Auth provider hook) and causing a full app re-render on navigation.

Steps To Reproduce

navigate around app, you will see sidebar & header re-render when they should be static

Expected behaviour

Idiomatic SPA routing, only the updated state parts of the application should re-render

@ciaranschutte ciaranschutte added the bug Something isn't working label Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant