-
Hi,
Firstly thank you for the reason-react-native, I'm just starting out with it and so far it's been an enjoyable experience.
I'm new to Reason, React and Native, so apologies if this is a stup…
-
The eslint-plugin-react-hooks does not seem to recognize the dispatch function from `useReducer` when it is returned from another function. If we use that returned function in a `useCallback` or `…
-
Apparently useReducer shouldn't perform side effects like firing async actions or updating state, so I think there should be an eslint warning for that.
hug0b updated
4 years ago
-
Hi @johnkirtley,
Just saw that you were using multiple useState functions inside of your code.
It may be cleaner and better to replace it with one useReducer function.
I recommend that you ta…
-
Nice library! I was wondering how to have a reducer that makes Ajax calls.
It looks like `useReducer` is pure.
-
Hello! Our team is in the early stage of the web app development and we adopted react/redux. We tried SWR on one page and it works great, much simpler that redux for API calls. Can you please share th…
-
**Describe the bug**
useReduce test case https://testing-library.com/docs/example-react-hooks-usereducer is falling.
I am not sure if this is the intended behavior.
**To Reproduce**
Steps to r…
-
- `downshift` version: 3.4.1
- `preact` version: 10.0.4
**Reproduction repository**:
https://codesandbox.io/s/downshift-preact-debug-issue-qth9r?fontsize=14
**Problem description**:
Downs…
-
### Reproduction
https://codesandbox.io/s/usestate-bug-4czbs
### Steps to reproduce
Click the button in the sandbox
### Expected Behavior
`Inner` function is rendered and hook…
-
Unless I'm missing something, besides listening to the firebase DB, how can we send or update data to it with some custom hook?