question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is it possible to run RNTL and RTL together on a Hybrid application?

See original GitHub issue

I have two existing applications in separate code-bases that i would like to combine into a hybrid application (code-sharing for Web and Native).

Aside from the restructure to bring the two together, my major concern is running the Native and Web testing side-by-side.

My Native (Expo) application is already setup with RNTL and running just as it should.

Do you have an approach or any tips for consolidating or running Web and Native tests side-by-side?

The main problem i can see is where do i define the separate render functions to instruct Native or Web rendering.

Any help and guidance is appreciated

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
alexbortoncommented, May 29, 2019

@thymikee the Hybrid approach is very much on our roadmap over the coming months, but as of yet, i don’t have anything to add in terms of approach.

As soon as i do, i will add some info to this issue for others looking to do something similar 👍

0reactions
abmantiscommented, Oct 24, 2020

@alexborton Hey, have you done it? 😛

@thymikee I’ve tried it and it does not work, since react-native-web is not the same as react, so using @testing-library/rect does not work with rn-web.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What Is React Native? The Rise of Hybrid Mobile Apps
React Native is a JavaScript framework for developing hybrid mobile applications that can run natively on both Android and iOS.
Read more >
New 2023 Honda Ridgeline RTL Crew Cab Pickup in Ogden ...
New 2023 Honda Ridgeline RTL Crew Cab Pickup Pacific Pewter Metallic for sale - only $44930. Visit Ken Garff Honda Riverdale in Ogden...
Read more >
3.8, Titanium Hybrid, 2.5 SR or RTL-T Vehicles for Sale near Batavia ...
3.8, Titanium Hybrid, 2.5 SR or RTL-T Vehicles for Sale near Batavia, IL. View our Gerald Subaru North Aurora inventory to find the...
Read more >
Building .NET Hybrid Apps with Blazor - YouTube
WebView2 is Microsoft's new embedded web browser control, built on top oHybrid apps are native apps that use web technologies for the UI....
Read more >
Running SAPUI5 Mobile Apps in Hybrid Web Containers
To ensure that the file is small, it only contains the control libraries that are most likely used and not all control libraries....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found