We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a53ae2a commit 41a659aCopy full SHA for 41a659a
docs/layoutanimation.md
@@ -9,13 +9,18 @@ A common way to use this API is to call it before updating the state hook in fun
9
10
Note that in order to get this to work on **Android** you need to set the following flags via `UIManager`:
11
12
+> ⚠️ **Note (React Native 0.79+)**:
13
+> `UIManager.setLayoutAnimationEnabledExperimental(true)` is **no longer needed** in React Native 0.79+ and above. It is enabled by default now.
14
+
15
+If you're using an older version (before 0.79), you can still use:
16
17
```js
18
if (Platform.OS === 'android') {
19
if (UIManager.setLayoutAnimationEnabledExperimental) {
20
UIManager.setLayoutAnimationEnabledExperimental(true);
21
}
22
-```
23
24
25
## Example
26
0 commit comments