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

Persistent iframe or alternative #25

Open
rusty-key opened this issue Jul 17, 2024 · 0 comments
Open

Persistent iframe or alternative #25

rusty-key opened this issue Jul 17, 2024 · 0 comments

Comments

@rusty-key
Copy link
Collaborator

Currently, reshowcase is reloading iframe every time we go from demo to demo. This causes fetching/parsing/executing all assets:
https://github.com/ahrefs/reshowcase/assets/1197026/e6705a68-2cd9-4c3a-8ad6-4122e77e38e8

It makes reshowcase navigation unnecessarily slow, especially on large applications.

Instead, we can make iframe persistent, and only replace its content. This way, reshowcase will fetch assets only once and only need to render relevant demo on navigation

We want to find a solution to navigate between stories without full reload of the application

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

1 participant