jondot / rn-snoopy

Snoopy is a profiling tool for React Native, that lets you snoop on the React Native Bridge.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

i think i can achieve same functionality via below two lines. Is this library doing something extra?

ronak301 opened this issue · comments

Include
import MessageQueue from 'MessageQueue'; MessageQueue.spy(true); in your root file and you are done. Am i missing something ?

Yes.
First - I was the one to add the spy method :)

Then, using spy Snoopy is a library you can use to extract insights from the events, filter them, aggregate them, and set alerts or alarms over them.

oh dats great. i am sorry i was not aware about that. I appreciate ur effort :).
So can i say that its kind of middleware between JS world and bridge.

You can say that, yes.