Skip to content

Conversation

@johno
Copy link
Member

@johno johno commented Apr 16, 2019

Since the default wrapper is a React Fragment we
should ignore all props passed aside from children
so it doesn't cause React to warn.


Fixes #530

Since the default wrapper is a React Fragment we
should ignore all props passed aside from children
so it doesn't cause React to warn.

---

Fixes #530
@vercel
Copy link

vercel bot commented Apr 16, 2019

This pull request is automatically deployed with Now.
To access deployments, click Details below or on the icon next to each push.

Latest deployment for this branch: https://mdx-git-wrapper.mdx.now.sh

Copy link
Member

@ChristopherBiscardi ChristopherBiscardi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, this was a thing affecting gatsby-mdx users

@johno johno merged commit 5c7e8e1 into master Apr 16, 2019
@johno johno deleted the wrapper branch April 16, 2019 18:00
@johno
Copy link
Member Author

johno commented Apr 16, 2019

Published as 1.0.6

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.

Upgrading to v1 seems to cause an issue when exporting arbitrary props

4 participants