Intitial commit of DebugEvents#815
Merged
Merged
Conversation
- Checks that all event handlers defined are being listened for by
top-level event delegation (local to the Component mount or
top-level App mount).
- Adds a warning if an event that was raised did not find an event
handler for dispatch.
- Fix detected bug (this feature already found a bug in the svg
example). Adds "pointermove" to the top-level Events map
- Introduce 'Events' type (synonym for Map MisoString Bool)
- Adds DebugEvent and DebugAll
- Renames some ambiguous variables to be more descriptive.
- Passes event Map from App{..} into Event construct
continuation.
- Adds `componentEvents` to `ComponentState`
- Renames P,E,S to Property, Event, Style.
- Everything we need is in App, don't need to register top-level.
dmjio
commented
Mar 17, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Checks that all event handlers defined are being listened for by top-level event delegation (local to the Component mount or top-level App mount).
Adds a warning if an event that was raised did not find an event handler for dispatch.
Fix detected bug (this feature already found a bug in the svg example). Adds "pointermove" to the top-level Events map
Introduce 'Events' type (synonym for Map MisoString Bool)
Adds DebugEvent and DebugAll
Renames some ambiguous variables to be more descriptive.
Passes event Map from App{..} into Event construct continuation.
- AddscomponentEventstoComponentStateThis detects if an event, that a user is expecting to fire, is not being listened on by the top level event delegator DOM node (typically body).