How to use the reactotron-react-native.repl function in reactotron-react-native

To help you get started, we’ve selected a few reactotron-react-native examples, based on popular ways it is used in public projects.

github infinitered / reactotron / examples / ReactotronTester / app / config / ReactotronConfig.ts View on Github external
const aThing = {
  aFunc: () => {
    return 10
  },
  aVal: "Test",
  aObj: {
    nested: true,
    num: 12312314,
  },
  aArr: [1, "two", { three: true }],
}

Reactotron.repl("thing", aThing)

Reactotron.repl("aString", "Hello")

const anotherTHing = [1, 2, { how: { awesome: { iz: { allThis: true } } } }]

Reactotron.repl("anotherThing", anotherTHing)
github infinitered / reactotron / examples / ReactotronTester / app / config / ReactotronConfig.ts View on Github external
},
  aVal: "Test",
  aObj: {
    nested: true,
    num: 12312314,
  },
  aArr: [1, "two", { three: true }],
}

Reactotron.repl("thing", aThing)

Reactotron.repl("aString", "Hello")

const anotherTHing = [1, 2, { how: { awesome: { iz: { allThis: true } } } }]

Reactotron.repl("anotherThing", anotherTHing)
github infinitered / reactotron / examples / ReactotronTester / app / config / ReactotronConfig.ts View on Github external
Reactotron.connect()
Reactotron.clear()

const aThing = {
  aFunc: () => {
    return 10
  },
  aVal: "Test",
  aObj: {
    nested: true,
    num: 12312314,
  },
  aArr: [1, "two", { three: true }],
}

Reactotron.repl("thing", aThing)

Reactotron.repl("aString", "Hello")

const anotherTHing = [1, 2, { how: { awesome: { iz: { allThis: true } } } }]

Reactotron.repl("anotherThing", anotherTHing)