'React native remote component rendering

I want to somehow visualize jest tests written with react-native-testing-library, by trying to actually render the rendered component on a real ios simulator. I am tying to think of a ways to do it. I guess it's somewhat like ssr for react native (the component is rendered in the jest process, and need to be sent to the device somehow), but I couldn't find any ways to achieve it. Is there a way to somehow send the rendered component to the device? I tried with react-serialize but it didn't work.

Any suggestions?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source