solid-docs icon indicating copy to clipboard operation
solid-docs copied to clipboard

Expand handler examples

Open aryzing opened this issue 2 years ago • 0 comments

Given handlers are not re-bound, added an example on how the same handler can be used to modify behaviour based on app state.

Also provides more robust example on how to forward handlers. The previous example, recommending () => props.onClick?.() seemed too specific and did not take into account tuple values.

aryzing avatar Oct 21 '23 19:10 aryzing