Skip to content

Update documentation for expo-web example #1278

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

steveacalabro
Copy link

@steveacalabro steveacalabro commented Apr 17, 2025

I was working to try to get segment working with my expo 52 react native project. I noticed that it would pass the metro build and then throw an error at runtime

TypeError: Class extends value undefined is not a constructor or null

I happened to create this custom transformer as a fix for a custom component library package that I have. I decided to give it a try since everything else I did wasn't working and to my surprise it worked.

I figured others might be fighting this in the future so I decided to update the docs in case folks can get saved by my solution.

Please let me know if you have any questions :)

  • I've included a changeset (psst. run yarn changeset. Read about changesets here).

Copy link

changeset-bot bot commented Apr 17, 2025

🦋 Changeset detected

Latest commit: 78419bf

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@segment/analytics-next Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

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.

2 participants