We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I created a sandbox with React + Typescript + Stitches. I created some basic components like Box and Text with stitches, something like below
Box
Text
const BaseBox = styled("div", { // Some variants }); type BoxProps = ComponentProps<typeof BaseBox> & { testID?: string }; function Box(props: BoxProps) { const { testID, ...restProps } = props; return <BaseBox {...restProps} data-testid={testID} />; }
const BaseText = styled(BaseBox, { // Some variants }); type TextProps = ComponentProps<typeof BaseText> & { testID?: string }; function Text(props: TextProps) { const { testID, ...restProps } = props; return <Text {...restProps} data-testid={testID} />; }
When I am using the above components my page is freezing and no UI is rendered
freezing
no UI
Steps to reproduce the behavior:
blank
Steps to see the preview section
When using stitches components should not freeze my page.
Firefox
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug report
Describe the bug
I created a sandbox with React + Typescript + Stitches. I created some basic components like
Box
andText
with stitches, something like belowWhen I am using the above components my page is
freezing
andno UI
is renderedTo Reproduce
Steps to reproduce the behavior:
blank
Steps to see the preview section
Expected behavior
When using stitches components should not freeze my page.
Screenshots
Firefox
System information
Additional context
The text was updated successfully, but these errors were encountered: