You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+51Lines changed: 51 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -143,6 +143,57 @@ The `sel` can be a string or a symbol. We recommend using symbols to avoid strin
143
143
</p>
144
144
</details>
145
145
146
+
<details>
147
+
<summary><strong>Pass event handlers as props to react components</strong> (click here)</summary>
148
+
<p>
149
+
150
+
Use hyperscript `h` and pass a **`sel`** as a prop. Use that selector in `sources.react.select(sel).events(whatever)` to have cyclejs/react pass an `onWhatever` function to the react component:
0 commit comments