filter from 'rn-snoopy/stream/filter'; /* Create a react Event Emitter */ const emitter = new EventEmitter(); /* Create an events stream from the emitter */ const events = Snoopy.stream(emitter);
filter({ type: Snoopy.TO_NATIVE }, true)(events).subscribe() /* Display only the message that aims to create view */ filter({ method:'createView' }, true)(events).subscribe() /* Display only the message that aims to create a view with an arg */ filter({ method:'createView', {args: {foo: {bar:1}}}}, true)(events).subscribe()
2. The approved Pull Request is… closed, 3. The changes are battle-tested in the internal repo 4. Once the changes are approved, the commit is cherry-picked on master
branch for each release (0.xx-stable) The master branch is published after a 1-month delay. Hot commits can be cherry-picked. At least one RC during the month.