Reactotron log multiplication #24

Open
opened 2021-07-05 07:14:45 +00:00 by GuillaumeHemmen · 0 comments
GuillaumeHemmen commented 2021-07-05 07:14:45 +00:00 (Migrated from github.com)

Description:

When using Reactotron log functions (log/warn/error/...) to display data to Reactotron, the log is displayed to the Reactotron app (normal). When coding with the hot reloads function, this log is displayed 1+x times, x being the number of times the app hot reloaded.

Steps To Reproduce

  1. open the app.
  2. put a Reactotron.log function on the first page of the app (to ease the reproducibility).
  3. edit a file in your project.
  4. the hot reload happen.
  5. an additional Reactotron log is added.

Expected Results

No log duplicate should be visible.

/

Description: When using Reactotron log functions (log/warn/error/...) to display data to Reactotron, the log is displayed to the Reactotron app (normal). When coding with the hot reloads function, this log is displayed 1+x times, x being the number of times the app hot reloaded. ## Steps To Reproduce 1. open the app. 2. put a Reactotron.log function on the first page of the app (to ease the reproducibility). 3. edit a file in your project. 4. the hot reload happen. 5. an additional Reactotron log is added. ## Expected Results No log duplicate should be visible. ## Snack, code example, screenshot, or link to a repository: /
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
openrn/react-native-logging-tools#24
No description provided.