-
Enabling Hermes on android builds configured to extract apk from app bundles (.abb) will freeze on app start.
React Native version:
System:
OS: macOS 10.14.6
CPU: (4) x64 Intel(R) Core(T…
-
Thanks for the small tool! To avoid infinite loop while using `// eslint-disable-next-line react-hooks/exhaustive-deps`, you should use useCallback, this will not recompute dispatch everytime and thus…
-
**Do you want to request a *feature* or report a *bug*?**
Feature
**What is the current behavior?**
While refactoring the code to React Hooks, I came across several "problems" that negatively…
ku8ar updated
5 years ago
-
I've a question about a behaviour that appears strange to me.
I am writing a custom hook.
```js
const useToggle =
(initialState) => {
const [isTrue, setState] = useState(initialState ||…
-
Things to be addressed:
* [x] switch to modern context (but keep same Provider / inject api) (#448)
* [x] plan strategy for hook based components (currently; use `` or `mobx-react-lite`)
* [x] ~m…
-
## 🐛 Bug report / Feature request
> Build forms in React, without the tears 😭
Today, I cried...
### Current Behavior
Consider the following _contrived_ example. The ESLint rule `react/exha…
-
**Intended outcome:**
It is my first work with react Apollo graph-ql. no i am trying to call GitHub graph-al API for getting my profile details .it show me error.
Type Error: Object(...) is no…
-
```
import logger from 'use-reducer-logger'
...
const tasksReducer = (state, action) => {
let {task, id} = action
switch (action.type) {
...
case types.CHANGE_STATUS: {
let i…
-
## 🐛 Bug report
### Current Behavior
related to issue #1541 (but it is currently closed, and would like to avoid the workaround if possible)
Using v2 latest so this deals with the hooks and w…
-
It looks like this:
```
Warning: State updates from the useState() and useReducer() Hooks don't support the
second callback argument. To execute a side effect after rendering, declare it in the
…