Skip to content

Conversation

@marcysutton
Copy link

A user was confused about how to use the Web Components example on Twitter, as the call to window was causing issues with SSR. This PR adds useEffect to the example to prevent against it.

@vercel
Copy link

vercel bot commented Jun 10, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/mdx/mdx/krgjki5jd
✅ Preview: https://mdx-git-fork-marcysutton-master.mdx.now.sh

@vercel vercel bot temporarily deployed to Preview June 10, 2020 21:59 Inactive
@johno
Copy link
Member

johno commented Jun 12, 2020

Thank you!

@johno johno merged commit a4dfd99 into mdx-js:master Jun 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants