question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Analytics/useSnippetSwitch stories not all working

See original GitHub issue

Bug Description

Analytics/useSnippetSwitch stories are giving error Element type is invalid: expected a string (for built-in components)

Steps to reproduce

See story here https://google.github.io/site-kit-wp/storybook/develop/?path=/story/analytics-module--use-snippet-switch-toggled-on-default

Screenshots

storybook-fail-useSnippetSwitch

Additional Context

  • PHP Version:
  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Plugin Version [e.g. 22]
  • Device: [e.g. iPhone6]

Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

  • The useSnippetSwitch Storybook stories should no longer fail with an error and instead display the expected UI state.

Implementation Brief

Test Coverage

Visual Regression Changes

QA Brief

Changelog entry

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

github_iconTop Results From Across the Web

Blair Witch Project – Still the Greatest Marketing Campaign ...
Every piece of marketing worked to fuel this fire and interest audiences enough to not only view the film, but to talk about...
Read more >
dbt Guide - GitLab
Once data is loaded into a warehouse, dbt enables teams to manage all data transformations required for driving analytics. It also comes with...
Read more >
A Critical Feminist Analysis of the Witch in Historical and
This research explores how new perceptions of this figure are empowering, and at times ostracizing, non-males facing eerily similar traumas as their accused....
Read more >
Learning Data Science | dispatch-category - Mode Analytics
The internet is abundant in free resources for learning data science. Check out tutorials for SQL, Python, and R, career advice, and how-to...
Read more >
Track Contact Form 7 with Google Tag Manager and GA4
A comprehensive guide to Contact Form 7 Event Tracking with Google Tag Manager. Track form submissions and see the data in Google Analytics...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found