Skip to content
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

Cleanup argTypes.defaultValue Warning #63

Merged
merged 1 commit into from Aug 10, 2022
Merged

Cleanup argTypes.defaultValue Warning #63

merged 1 commit into from Aug 10, 2022

Conversation

jphechter
Copy link
Contributor

Purpose

Created this branch to cleanup some of the warnings/errors we're seeing in the console.

Type of Request

chore

Approach

argTypes.defaultValue Warning

This warning was coming from argTypes.defaultValue being used in the Typography component stories. Updated to use the new pattern. This got rid of the warning.

Screen Shot 2022-08-10 at 9 07 40 AM

ReactDOM.render Error

We have no control over this error. The error is being caused by Storybook. See this comment on a GitHub Issue related to the topic.

In short, we are building React 18 components. They are being rendered with the React 18 API. Storybook is built using React and is still using version 17. Storybook is rendering components as we expect and we are given the full functionality of React 18.

Screen Shot 2022-08-10 at 9 33 40 AM

Pull Request Creator Checklist

  • It is documented what type of request this is.
  • There is a detailed description for the purpose of this PR.
  • This PR is in line with the intention of this Project

@jdinh8124 jdinh8124 merged commit b804241 into main Aug 10, 2022
@jdinh8124 jdinh8124 deleted the console-cleanup branch August 10, 2022 15:43
@github-actions
Copy link

🎉 This PR is included in version 1.0.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants