Skip to content
Discussion options

You must be logged in to vote

Based on the screenshot you sent, you're not using the right syntax for id from modules. You can see more at this issue in the css-modules lib.

The tldr; is that you have to declare :global(#textContent) instead of what you have. Otherwise, the module will add a unique namespace suffix to the id and your DOM will not match it.

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
1 reply
@zackfalcon
Comment options

Comment options

You must be logged in to vote
7 replies
@zackdotcomputer
Comment options

@zackfalcon
Comment options

@zackfalcon
Comment options

@zackdotcomputer
Comment options

@zackfalcon
Comment options

Answer selected by zackfalcon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants