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

The React TypeScript template crashes when you attempt to compose CSS modules from different files #8619

Open
3 tasks done
Santiago-j-s opened this issue Sep 22, 2024 · 0 comments

Comments

@Santiago-j-s
Copy link

Santiago-j-s commented Sep 22, 2024

🐛 bug report

Preflight Checklist

  • I have read the Contributing Guidelines for this project.
  • I agree to follow the Code of Conduct that this project
    adheres to.
  • I have searched the issue tracker for an issue that matches the one I want
    to file, without success.

Description of the problem

If you create a new react codesandbox by using the react ts template, it crashes if you try to compose css modules from different files

To Reproduce

Create a new React project and set up two CSS module files. In the second file, define a new class by composing one of the classes from the first file.

Next, attempt to utilize a class from the second file in any React component.

Link to sandbox: link (optional)

Your Environment

Software Name/Version
Сodesandbox dc96b837cf6bb4af9cd736aa3af08cf8279f7685
Browser Firefox 131.0b7
Operating System MacOS 14.6.1 (23G93)
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

No branches or pull requests

1 participant