Skip to content

fix(overlay): Disable React Dev Tools warning#209

Merged
Lms24 merged 2 commits into
mainfrom
lms/fix-overlay-remove-react-log-message
Dec 4, 2023
Merged

fix(overlay): Disable React Dev Tools warning#209
Lms24 merged 2 commits into
mainfrom
lms/fix-overlay-remove-react-log-message

Conversation

@Lms24
Copy link
Copy Markdown
Member

@Lms24 Lms24 commented Dec 4, 2023

Disables the warning as recommended in facebook/react#3877 (comment)

For future reference: We could also overwrite the object by injecting some code into the astro page to overwrite the object but this might f* with people who actually use react in their Astro apps. So let's just remove it from our bundle.

closes #202

@vercel
Copy link
Copy Markdown

vercel Bot commented Dec 4, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
spotlightjs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 4, 2023 11:57am

@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 4, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (dc96a8b) 32.22% compared to head (6b25e7d) 32.22%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #209   +/-   ##
=======================================
  Coverage   32.22%   32.22%           
=======================================
  Files          38       38           
  Lines        1868     1868           
  Branches       70       70           
=======================================
  Hits          602      602           
  Misses       1266     1266           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Lms24 Lms24 merged commit 688b07f into main Dec 4, 2023
@Lms24 Lms24 deleted the lms/fix-overlay-remove-react-log-message branch December 4, 2023 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove React develop console logs

1 participant