Does netinfo work on web?

According to the docs, it does, but when I run it, I get:

invariant.js:40 Uncaught Invariant Violation: Trying to subscribe to unknown event: "function (state) {
    console.log("Connection type", state);

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.