-
This came up when designing the Searches page, where we are using the hook: `useSelectInterests`.
In `MySearches` we are interested to fetch articles for each of the items in the list, but the `sub…
-
## Description
We should detect and prevent infinite loops in hooks.
An example of a hook that causes an infinite loop:
```php
add_action(
'woocommerce_block_template_after_add_block',
'example_…
-
Are there plans for a first-party API that utilizes React hooks?
-
### Version
v20.13.1
### Platform
_No response_
### Subsystem
Mac/Linux
### What steps will reproduce the bug?
```sh
node --import ./hook.mjs file.mjs
```
hook.mjs:
```js
i…
-
It would be nice to write one-line hooks like
```lua
g.after_test('test_smth', function()
g.master.net_box:eval([[
-- do something
]])
end)
```
in such way:
```lua
g.afte…
-
members uses `import { useXpnzApi } from "@/hooks/use-xpnz-api.js"` while App.jsx uses `import useExpense from "@/hooks/use-expense.js"`, ideally members should just fetch info from the outlet context…
-
This initial attempt at documentation of the Tidy 5e API will seek to provide a framework, whether manual or automated, to present hooks and their types, API calls and their types, and example usages …
kgar updated
10 months ago
-
I'd much rather prefer an API like this that allows `react-input-mask` to stay out of the business of rendering my input.
```jsx
const PhoneInput = ({ value, placeholder, onChange, ...props }) => {
…
-
## Please select if your request is either something new or an enhancement ##
- [x] Enhancement of an existing Feature.
- [ ] Request of a new feature.
## Please select the area your reques…
-
- rxjs-hooks
- `useObservable`
- react-rxjs-elements