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.

Design an API for providing custom ByText implementation

See original GitHub issue

Describe the Feature

Right now, we rely on grabbing Text from react-native in *ByText queries. We should make it possible for users to replace it with Text from other libraries, like react-native-windows or react-xp. Or make it possible to extend *ByText queries to have a custom implementation.

Possible Implementations

TBD

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
thymikeecommented, Aug 11, 2022

This is something I had in mind very early in the design process. Thought it may become useful, but so far it didn’t prove really necessary. I’m ok to close this ticket and wait for some real use case that users bump into.

0reactions
mdjastrzebskicommented, Aug 8, 2022

@thymikee is this feature request still relevant? Seems like if implemented we would be moving outside of React Native domain and more towards something like React Anything/Test Renderer Testing Library. In such case maybe we should consider extracting common Test Render part and build React Native behaviours on top of it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

5 Golden Rules for Great Web API Design - Toptal
Don't do some crazy custom URL scheme. Don't reinvent SOAP, or JSON, or REST, or anything. Use all the tools you can that...
Read more >
RESTful web API design - Best Practices - Microsoft Learn
However, most common REST API implementations use HTTP as the application protocol, and this guide focuses on designing REST APIs for HTTP.
Read more >
REST API Design Best Practices Handbook – How to Build a ...
Before we start implementing the best practices into our example project, I'd like to give you a brief introduction to what we'll be...
Read more >
Creating a custom REST API - IBM
When you complete the REST API design, you must use IBM Rational Software Architect to model the facade, operations and structs. Implementing the...
Read more >
22 Implementing Custom APIs - Cloud - Oracle Help Center
Using JavaScript, Node, and the custom code SDK, you can implement the APIs that have been designed in the API Designer (or by...
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