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

ReadME has an incorrect example.

jigishchawda opened this issue · comments

https://github.com/jondot/rn-snoopy/blob/master/README.md has an example which seems incorrect.

bars(infoAry=>infoAry.length, 100, true).length)(
  events
).subscribe()

Maybe you meant this

        bars( info => JSON.stringify(info.args).length, 
            200 /*command string length threshold*/, 
            true/*show yellow box*/
        )(events).subscribe()

Created a PR #4

It is incorrect... comma missing