Using CSS Modules in React, class names are made locally scoped by default and transformed into a unique ______ during the build process.

  • class
  • hash
  • identifier
  • style
In CSS Modules, class names are indeed made locally scoped by default to avoid naming conflicts. These class names are transformed into unique hashes during the build process, ensuring that they won't clash with other styles elsewhere in the application. So, the correct answer to fill in the blank is "hash."
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *