purescript-react-basic-hooks
purescript-react-basic-hooks copied to clipboard
An implementation of React hooks on top of purescript-react-basic
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.0.8. Commits 782c264 3.0.8 6ade2da fix: trim pattern a6f52b0 3.0.7 e4cd434 fix: treat nocase:true as always having magic e6bbe1c publishConfig for 3.0 5b7cd33 3.0.6 20b4b56...
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1. Commits 2449650 Update mocha 560b2d8 Don't use regex to trim whitespace b1bdb92 Remove linting package zoo c20dc7e Cache 308 See full diff in compare...
`&` is very useful for defining hooks in the order they appear in the code and with fewer parens. However, there is `import Type.Function (type (#))` which does the same...
Bumps [shell-quote](https://github.com/substack/node-shell-quote) from 1.7.2 to 1.7.3. Changelog Sourced from shell-quote's changelog. 1.7.3 Fix a security issue where the regex for windows drive letters allowed some shell meta-characters to escape the...
Hi! Thanks a lot for this amazing package ✨ I cannot find an example of `React.useCallback` I see it was deprecated on what seems to be `v5.x` what is the...
How would one approach this? For example, [use-on-click-outside](https://usehooks-ts.com/react-hook/use-on-click-outside) or [use-event-listener](https://usehooks-ts.com/react-hook/use-event-listener)?
The old store required the key and value types of the cache to be defined at cache creation. This refactor is to allow any type implementing `HasBackend` to be stored...
> Your initial "actual" example is a great way to write it -- keeping the PS bits effectful and running `unsafePerformEffect` once at the top level where next.js can pick...
I'd like to create `ReactComponent`s which can take a `ref` prop or that are defined with `React.forwardRef` somehow. Do you have an idea how to do that?
The type of component function does not allow to create react component with Array JSX return. ``` This should get compile, because react library allowes this syntax. mkCounter :: Component...