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

Full Screen "Loading" Instead of Only the React Child Component #1

Open
zalor63 opened this issue Mar 13, 2025 · 1 comment
Open

Full Screen "Loading" Instead of Only the React Child Component #1

zalor63 opened this issue Mar 13, 2025 · 1 comment

Comments

@zalor63
Copy link

zalor63 commented Mar 13, 2025

First of all, thanks for this amazing project! 🚀

I really appreciate the work put into it. I wanted to report a small issue I noticed with the loading behavior. If I have time, I’ll try to fix it myself.

When navigating between pages, the entire screen enters a loading state instead of just the specific child component being updated. This makes it feel like you're leaving the app and going to another website, which affects the user experience.

Expected Behavior
Only the affected child component should display the loading state, while the rest of the UI remains visible.

Current Behavior
The entire screen goes into a loading state, making the transition between pages feel like a full refresh instead of a smooth single-page navigation.

Steps to Reproduce
Click on any menu item to navigate to another page.
Observe that the whole screen displays a loading state.
Possible Solution
Update the loading logic to ensure only the relevant child component shows the loading state.
Consider using React Suspense, conditional rendering, or local loading states instead of a global full-screen loader.
Additional Notes

Thanks again for maintaining this project! If I find time, I’ll look into fixing it. Keep up the great work! 🚀

@Shreyas-29
Copy link
Owner

Shreyas-29 commented Mar 14, 2025 via email

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