infinitered / infinitered/reactotron

Reactotron.log isn't working.

Open
#1,136 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
15.6k
Forks
972
PR merge metrics
No merged PRs in 30d

Description

I have just started to use Reactotron. Network logs are working fine but whenever I use

> Reactotron.log('message');

I get the error

> TypeError: TypeError: TypeError: undefined is not an object (evaluating '_reactotronCoreClient.default.log')

I am using Reactotron.log in react native project inside useEffect hook. console.log works just fine there.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing Reactotron.log('message') inside a React Native useEffect hook and capture the Reactotron setup and package versions, since the issue does not name files or tests. Compare the failing log call with the working network logging path; done means the message appears without the reported undefined-object error.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native
Domain
devtools, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.