Closed srmagura closed 2 years ago
Name | Link |
---|---|
Latest commit | 0c67e459b99c944767bd6c5fedc121bf507288b3 |
Latest deploy log | https://app.netlify.com/sites/react-community-tools-practices-cheatsheet/deploys/62b1bf67fbb841000869f01a |
Deploy Preview | https://deploy-preview-25--react-community-tools-practices-cheatsheet.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.
Yeah, consistent examples would be useful!
For this particular page, can you show a couple examples of what a hypothetical mangled classname looks like, and what the resulting import object looks like? ie, .label
becomes .MyComponent_MyStyleFile_label_abcd1234
, and the object looks like { "label": "MyComponent_MyStyleFile_label_abcd1234" }
Sure. I actually already had an example of mangled class names, but I added a paragraph about the JS object you get when you import a CSS Module. This is all in the second half of the "Purpose and Use Cases" section.
Sweet!
Hmm, just realized I didn't include a realistic example at the bottom like I did for the other pages. Let me know if this is something that should be added. 🙂