A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/callstack/react-native-testing-library/issues/877 below:

Native TS support · Issue #877 · callstack/react-native-testing-library · GitHub

Describe the Feature

As quickly discussed in a PR comment, I'll see to port the library to use TS instead of flow. Unsure if it's needed to list the benefits of the move, but here are some of them:

First question is what about Flow support? Personally I don't care, and I'm not sure it's a big priority for the community. So what I'd suggest is for us to publish the typings to flow-typed before removing flow support. That'll make long term maintenance simpler, but that'd be a breaking change. I personally would like to first release the v9 before this release, so we'd talk about a v10.

If we're considering a breaking change, I'd suggest to use that as an opportunity to clean up the deprecated APIs (from both v2, v7, v9) features, such flushMicrotasksQueue, etc.

We can also of course keep the flow declaration in the same repo for now, and don't clean up anything. It'll make the TS migration a bit more complicated, but that's not the end of the world.

What do you think of it?

thymikee, pierrezimmermannbam, flexbox and janithl


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4