RNTL v13 & v14 roadmap #1698
mdjastrzebski
started this conversation in
General
Replies: 2 comments 7 replies
-
This sounds like a good plan! Regarding V13, you already did pretty much everything right? Besides reviewing and merging #1607 and waiting for RN 0.77 there is nothing else to do, correct? |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wanted to share some details about future plans for the React Native Testing Library, especially in the context of the React Test Renderer (RTR) being deprecated. We plan to replace RTR with a new test renderer, for which I’ve already built a prototype that validated this approach.
Here is the RNTL major release roadmap:
*ByA11State
,*ByA11Queries
, etc.)There is no urgency in replacing RTR as it’s still present in React 19, although with some deprecation warnings.
The new test renderer will operate only on host components. In general, this is the desired state, as we already limit RNTL to this. One area where this will impact users is the ability to directly call event handlers on composite components using the Fire Event API. Current RNTL allows this for legacy test reasons, but it will no longer be possible with the new renderer. We will provide an easy migration to v14 for common events like
press
though.Beta Was this translation helpful? Give feedback.
All reactions