solid-docs
solid-docs copied to clipboard
Expand handler examples
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.