oblador / react-native-performance

📐 Monitor and measure React Native performance

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Question] Maybe we could somehow make use of react-native implementation?

Szymon20000 opened this issue · comments

Could you elaborate a bit?

I just saw that someone from React Native team implemented Web Performance API. Just like you but it's a turbo module and it missing a lot of features thet your library expose. For instance Flipper plugin or a lot of native marks.
I just though that maybe this library could make use of RN implementation so it's easier for you to maintain

Hmm, maybe but probably not. I have previous bad experience on relying on RN core perf stuff because it seems only FB rely on them so they break in bad ways from time to time. It looks pretty bare bones, and also it would be a breaking change for users and be tied to RN version.

Fwiw, this package is also built for new arch (one of the first packages to do so even).

Are you at the conf with @mrousavy btw? Maybe we can discuss in person and would love to hear your usecases 😄

Unfortunately, I am tied to Poland for a few months :)
I just wanted to draw your attention to the fact that RN has partially implemented a similar thing in case it is somehow useful to you. I often use your library and it is very helpful :)