yusinto/relay-compiler-plus

Remove console.log()'s

hollandThomas opened this issue · 2 comments

Hey, first of all thanks for making and open sourcing this library! :)

I was just skimming through the source code when I noticed a console.log here. Unless I'm missing something and this gets stripped in production, using console.log in production is considered harmful™ which is ironical, seeing that this package seeks to improve performance ;)

Thanks for looking into this!

I'll remove them. Thanks for reporting!

This is now done in v1.6.3. You can set debug = true like so matchQueryMiddleware(queryMapJson, true) to view console.logs.