Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Co-authored-by: Brijesh Bittu <[email protected]>
Signed-off-by: Siriwat K <[email protected]>
  • Loading branch information
siriwatknp and brijeshb42 authored May 31, 2024
1 parent 1f968f0 commit 82f38e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ globalCss`
`;
```

The `globalCss` function should to be called at the top level of your javascript file, usually from the index of the application.
The `globalCss` function should to be called at the top level of your javascript file, usually from the entry point of the application.

Calling inside a function or a component will not work as expected. Also, the extraction of global styles will always take place regardless of conditional rendering.

Expand Down

0 comments on commit 82f38e8

Please sign in to comment.