Skip to content

Commit e981e02

Browse files
committed
chore: add docs
1 parent 83d3eae commit e981e02

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

website/docs/12.x/docs/api/misc/config.mdx

+5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ type Config = {
77
asyncUtilTimeout: number;
88
defaultHidden: boolean;
99
defaultDebugOptions: Partial<DebugOptions>;
10+
concurrentRendering: boolean;
1011
};
1112

1213
function configure(options: Partial<Config>) {}
@@ -26,6 +27,10 @@ This option is also available as `defaultHidden` alias for compatibility with [R
2627

2728
Default [debug options](#debug) to be used when calling `debug()`. These default options will be overridden by the ones you specify directly when calling `debug()`.
2829

30+
### `concurrentRendering` option
31+
32+
Set to `true` to enable concurrent rendering used in the React Native New Architecture. Otherwise `render` will default to legacy synchronous rendering.
33+
2934
## `resetToDefaults()`
3035

3136
```ts

website/docs/12.x/docs/api/render.mdx

+4
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ wrapper?: React.ComponentType<any>,
3232

3333
This option allows you to wrap the tested component, passed as the first option to the `render()` function, in an additional wrapper component. This is useful for creating reusable custom render functions for common React Context providers.
3434

35+
#### `concurrentRendering` option
36+
37+
Set to `true` to enable concurrent rendering used in the React Native New Architecture. Otherwise `render` will default to legacy synchronous rendering.
38+
3539
#### `createNodeMock` option
3640

3741
```ts

0 commit comments

Comments
 (0)