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

docs: CSS modules class name reference fix (2lRF7) #11694

Merged
merged 1 commit into from
Feb 11, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/tutorial/part-two/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ The `console.log(styles)` code will log the resulting import so you can see the
![css-modules-console](css-modules-console.png)

If you compare that to your CSS file, you'll see that each class is now a key in the imported object pointing to a long string e.g. `avatar` points to
`about-css-modules-module---avatar----hYcv`. These are the class names CSS
`src-pages----about-css-modules-module---avatar---2lRF7`. These are the class names CSS
Modules generates. They're guaranteed to be unique across your site. And because
you have to import them to use the classes, there's never any question about
where some CSS is being used.
Expand Down