---
# System prepended metadata

title: Known issues
tags: [zeta-dom-react]

---

---
tags: zeta-dom-react
---

# Known issues

Here listed major known issues over different versions, listing affected versions and possible workaround.

## Choice field causing parent component to update indefinitely

==**Affects `0.3.10`-`0.4.3`**==

When using `ChoiceField` (e.g. for dropdowns) and having `value` and `onChange` prop, the following error is logged in console:

:::danger
ReactJS: Maximum update depth exceeded error
:::

A bug is introduced in `v0.3.10` that will cause `onChange` of an unselected controlled choice field to call every time component refreshes, which leads to infinite update when `onChange` sets new state every time.

Problematic code:

```typescript!
<Dropdown 
    value={...}
    onChange={() && setValue(newValueEveryTime())}
```

To fix this without updating to newer version:

```typescript!
<Dropdown 
    value={...}
    onChange={v => ensureValueIsUpdated(v) && setValue(newValueEveryTime())}
```

## Unable for a controlled field to update its value

==**Affects `0.3.6`-`0.3.9`**==

A major bug was identified that affects `v0.3.6`-`0.3.9`. Please upgrade to newer version.

## `useAsync` not working in React 18

==**Affects `<=0.3.10`**==

Before `v0.3.10`, there is known incompatibility when strict mode is enabled. Please upgrade to newer version.
