Skip to content

Commit

Permalink
Merge pull request #15 from Haroenv/patch-1
Browse files Browse the repository at this point in the history
readme: use camel case in react onClick example
  • Loading branch information
keithamus authored Oct 2, 2023
2 parents 3b7bf01 + 30daa20 commit b795efe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ behaviour. These patterns reduce developer experience and introduce more
boilerplate and friction, while remediating security and maintainability
concerns. Some frameworks attempt to reintroduce the developer experience of
inline handlers by introducing new JavaScript or HTML shorthands, such as
React's `onclick={...}`, Vue's `@click=".."` or HTMX's `hx-trigger="click"`.
React's `onClick={...}`, Vue's `@click=".."` or HTMX's `hx-trigger="click"`.

There has also been a rise in the desire to customise controls for components.
Many sites, for example, introduce custom controls for File Uploads or dropdown
Expand Down

0 comments on commit b795efe

Please sign in to comment.