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
Is the Debug documentation wrong about the returned JSX or have I mis-configured by setup?
According to the docs about the debug function it would suggest that a component which contains <TouchableOpacity> would render this as-is and not expand it into <View>s.
But the Snapshot and debug output clearly expands all components into <View>s.
Is the documentation wrong or is this configurable?
It's possible that the mock of TouchableOpacity changed since this doc was made. Feel free to send an updated one, based on the results of running something similar with the latest version of React Native. IIRC it is indeed implemented using native Views so whatever comes out of the snapshot is correct.
Is the Debug documentation wrong about the returned JSX or have I mis-configured by setup?
According to the docs about the
debug
function it would suggest that a component which contains<TouchableOpacity>
would render this as-is and not expand it into<View>
s.But the Snapshot and debug output clearly expands all components into
<View>
s.Is the documentation wrong or is this configurable?
There is another issue related to this: #156
The text was updated successfully, but these errors were encountered: