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

Masenf/fix snake #270

Merged
merged 2 commits into from
Oct 22, 2024
Merged

Masenf/fix snake #270

merged 2 commits into from
Oct 22, 2024

Conversation

masenf
Copy link
Collaborator

@masenf masenf commented Oct 16, 2024

While fixing this example for 0.6.3, add some more interesting stuff to help tease out more potential bugs/edge cases (and those sweet sweet perf gains 🔥)

each key maps to an event, dispatched on the frontend instead of a single key
handler. this allows the keys and mapping to be defined in one place rather
than in two places, and gives flexibility about how events are dispatched
(whether they include the key or other args).
reduce event delta payload from 4k to 1k for better performance
@masenf masenf merged commit 658eac5 into main Oct 22, 2024
50 checks passed
@masenf masenf deleted the masenf/fix-snake branch October 22, 2024 20:04
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.

2 participants