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

docs(Dropdown): async options story #2069

Merged
merged 2 commits into from
Apr 16, 2024

Conversation

YossiSaadi
Copy link
Contributor

@YossiSaadi YossiSaadi requested a review from a team as a code owner April 16, 2024 06:52
render: () => {
const fetchUserOptions = async () => {
try {
const response = await fetch("https://jsonplaceholder.typicode.com/users");
Copy link
Member

Choose a reason for hiding this comment

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

Chromatic don't recommend dynamic apis for stories as they change, can we make it static?

Copy link
Member

@talkor talkor left a comment

Choose a reason for hiding this comment

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

That's great!! We just need to make sure it won't fail chromatic

@YossiSaadi YossiSaadi merged commit 7f7b63c into master Apr 16, 2024
9 of 10 checks passed
@YossiSaadi YossiSaadi deleted the docs/yossi/Dropdown--asyncOptions-story-4977987525 branch April 16, 2024 21:10
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