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

Use MutationObserver to cache data #3

Open
psybers opened this issue Apr 26, 2023 · 0 comments
Open

Use MutationObserver to cache data #3

psybers opened this issue Apr 26, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@psybers
Copy link
Contributor

psybers commented Apr 26, 2023

Right now every gaze event triggers a bunch of DOM lookup on the editor. Most of that data should be static and could be cached. We can use MutationObserver to listen for DOM changes and invalidate the cache.

@psybers psybers added the enhancement New feature or request label Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant