Serving CSS styles externally using @material-ui/styles in SSR applications
Open
Nobody has claimed this yet.
scope: styles
support: question
- Dominant language
- JavaScript
- Stars
- 99.1k
- Forks
- 32.5k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 106
Description
I use @material-ui/styles in a SSR project and the problem is each page CSS styles are added internally.
Are there any ways that CSS styles be used externally (i.e. in separate CSS files)?
- The issue is present in the latest release.
- I have searched the issues of this repository and believe that this is not a duplicate.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by examining how @material-ui/styles injects CSS during server-side rendering and whether the repository documents an external stylesheet path. The issue names no files, tests, or entry points, so the desired output and acceptance criteria need to be clarified before implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100