Skip to content

Conversation

BrunoQuaresma
Copy link
Collaborator

  • Update Storybook usage to use v7 API
  • Remove render tests from integration tests and move them to stories

@BrunoQuaresma BrunoQuaresma self-assigned this Sep 8, 2023
@BrunoQuaresma BrunoQuaresma force-pushed the bq/review-storybook-pages branch from 68d7833 to 2f55e6b Compare September 8, 2023 15:40
Copy link
Member

@aslilac aslilac left a comment

Choose a reason for hiding this comment

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

Seems like tons of good stuff in here! Having Chromatic compare stories will definitely be a better solution than some of these tests getting removed.

Comment on lines +14 to +22
children: [
<Cond key="1" condition>
The first one shows.
</Cond>,
<Cond key="2" condition={false}>
The second one does not show.
</Cond>,
<Cond key="3">The default does not show.</Cond>,
],
Copy link
Member

Choose a reason for hiding this comment

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

I liked the earlier commit where these were fragments: React will perform better with those. Does it break the ChooseOne component or something?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Nops, it is just for the storybook. I didnt find a similar API to keep it as a fragment in the new Storybook v7 API

@BrunoQuaresma BrunoQuaresma merged commit 554ddb1 into main Sep 8, 2023
@BrunoQuaresma BrunoQuaresma deleted the bq/review-storybook-pages branch September 8, 2023 18:14
@github-actions github-actions bot locked and limited conversation to collaborators Sep 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy