Skip to content

Commit f0c065c

Browse files
committed
.
1 parent 0fe92e0 commit f0c065c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

website/docs/13.x/docs/guides/react-19.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ React 19 introduced full support for React Suspense, `React.use()`, and other as
66

77
React 19's async rendering features make React's rendering process more asynchronous by nature. This requires the use of the [`async act`](https://react.dev/reference/react/act) helper when testing components that use these new APIs, which in turn affects several React Native Testing Library APIs.
88

9-
Note that `renderAsync`, and other changes support React 18.
9+
Note that `renderAsync` and other async APIs also support React 18.
1010

1111
## New Async APIs in RNTL 13.3
1212

@@ -23,8 +23,8 @@ To support React 19's async rendering, RNTL 13.3 introduces several new async AP
2323
Some APIs didn't require changes:
2424

2525
- `screen` object: most of the methods, including queries
26-
- **[`userEvent`](docs/api/user-event) didn't require API changes as it was already async
27-
- Jest Matchers didn't require any changes as they work already processed output
26+
- **[`userEvent`](docs/api/user-event)** didn't require API changes as it was already async
27+
- **Jest Matchers** didn't require any changes as they work with already processed output
2828

2929
## Key Changes for Testing
3030

@@ -53,4 +53,4 @@ While these async APIs are new in RNTL 13.3, we expect them to become the defaul
5353
- **New testing code**: use the async APIs (`renderAsync`, etc.) for all new tests
5454
- **Legacy testing code**: can continue using the synchronous versions (`render`, etc.) without any required changes
5555

56-
This approach allows for gradual migration while ensuring compatibility with both React 18 and React 19 features.
56+
This approach allows for gradual migration while ensuring compatibility with both React 18 and React 19 features.

0 commit comments

Comments
 (0)