File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33This is an experimental implementation of React hooks on [ react-basic] ( https://github.com/lumihq/purescript-react-basic ) .
44
5- * Warning:* This API is * experimental* and relies on recent React versions (>= 16.8.0).
6- It's here to allow experimentation while we get feedback on the API.
5+ * Warning:* This API relies on recent React versions (>= 16.8.0).
76For more info on hooks, see [ React's documentation] ( https://reactjs.org/docs/hooks-intro.html ) .
87
98I recommend using PureScript's new "qualified do" syntax while using this library (it's used in the examples, the ` React.do ` bits).
10- It's available in the ` 0.12.2 ` compiler release.
9+ It became available in the ` 0.12.2 ` compiler release.
1110
1211This library provides the ` React.Basic.Hooks ` module, which can completely replace the ` React.Basic ` module.
1312It borrows a few types from the current ` React.Basic ` module like ` ReactComponent ` and ` JSX ` to make it easy to use both versions in the same project.
You can’t perform that action at this time.
0 commit comments