Skip to content

Commit b3a1ebc

Browse files
authored
docs: startTransition in React Native
1 parent 1dd2c69 commit b3a1ebc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,13 @@ const config = {
282282
};
283283
```
284284

285+
### startTransition
286+
287+
If your version of React Native doesn't support `startTransition`, you can provide fallback implementation:
288+
```jsx
289+
<FlagProvider startTransition={fn => fn()} ></FlagProvider>
290+
```
291+
285292
# Migration guide
286293

287294
## Upgrade path from v1 -> v2

0 commit comments

Comments
 (0)