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

[experiment] Register custom event handlers #2962

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

steveruizok
Copy link
Collaborator

@steveruizok steveruizok commented Feb 27, 2024

This PR is an experiment showing how state nodes (or whatever) could have custom event handlers.

A problem with our current system is that state nodes reach out to shape utils to fill handle code paths unique to each shape. (todo finish this description)

  • lifecycle with memos! avoid having to stash or cache data

@steveruizok steveruizok marked this pull request as draft February 27, 2024 08:30
Copy link

vercel bot commented Feb 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
examples ✅ Ready (Inspect) Visit Preview Feb 27, 2024 8:31am
1 Ignored Deployment
Name Status Preview Updated (UTC)
tldraw-docs ⬜️ Ignored (Inspect) Feb 27, 2024 8:31am

@steveruizok steveruizok changed the title [Prototype] Register custom event handlers [experiment] Register custom event handlers Mar 7, 2024
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.

None yet

1 participant