You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using renderStream.render, I am unable to to use components that use the useTrackRenders hook in the wrapper option. As an example, see this test from an Apollo Client bug that I'm working on. I'd like to move the <Suspense /> and <ErrorBoundary /> components to the wrapper option. When doing so however, I see the error:
useTrackRenders: A Render Stream must be created and rendered to track component renders
Ideally useTrackRenders can be used for components in the components passed to render and wrapper. This would also make it easier for more of these complex cases to use rerender to avoid the need to pass that whole component tree again.
The text was updated successfully, but these errors were encountered:
When using
renderStream.render
, I am unable to to use components that use theuseTrackRenders
hook in thewrapper
option. As an example, see this test from an Apollo Client bug that I'm working on. I'd like to move the<Suspense />
and<ErrorBoundary />
components to thewrapper
option. When doing so however, I see the error:Ideally
useTrackRenders
can be used for components in the components passed torender
andwrapper
. This would also make it easier for more of these complex cases to usererender
to avoid the need to pass that whole component tree again.The text was updated successfully, but these errors were encountered: