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

Add dynamic page loads #195

Merged
merged 1 commit into from
Oct 28, 2023
Merged

Add dynamic page loads #195

merged 1 commit into from
Oct 28, 2023

Conversation

marein
Copy link
Owner

@marein marein commented Oct 28, 2023

All links on the page are intercepted and checked to see if they're a valid internal link. If so, the page is loaded dynamically via ajax, then all undefined custom elements are loaded to avoid flickering, and then the page is placed in the DOM. The same works for popstate events and programmatic triggers, such as joining a game.

All links on the page are intercepted and checked to
see if they're a valid internal link. If so, the page
is loaded dynamically via ajax, then all undefined
custom elements are loaded to avoid flickering, and then
the page is placed in the DOM. The same works for popstate
events and programmatic triggers, such as joining a game.
@marein marein self-assigned this Oct 28, 2023
@marein marein merged commit e6fe4c9 into master Oct 28, 2023
1 check passed
@marein marein deleted the 190-add-dynamic-page-loads branch October 28, 2023 21:20
@marein marein mentioned this pull request Oct 28, 2023
10 tasks
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

Successfully merging this pull request may close these issues.

1 participant