Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.

docs: use consistent and non-ambiguous event handler names#286

Merged
edemaine merged 2 commits intosolidjs:mainfrom
norskeld:consistent-event-handlers
Feb 6, 2024
Merged

docs: use consistent and non-ambiguous event handler names#286
edemaine merged 2 commits intosolidjs:mainfrom
norskeld:consistent-event-handlers

Conversation

@norskeld
Copy link
Contributor

@norskeld norskeld commented Feb 6, 2024

REPL in the tutorial uses ESLint to lint the code and one of the rules, namely solid/event-handlers, warns on ambiguously named event handlers like onclick or onchange. This PR changes the event handler names in lesson.json and solved.json files accordingly. I also found oninput in the "Rendering" guides, changed this to onInput as well for the sake of consistency.

NB. Wow, GitHub diff kinda sucks since it doesn't show specific changes in long lines. Sorry about that.

@edemaine edemaine merged commit c6c83cb into solidjs:main Feb 6, 2024
@norskeld norskeld deleted the consistent-event-handlers branch February 27, 2024 19:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants