Add in the documentation what emotion is used for in the integration with Nextjs
See original GitHub issue- I have searched the issues of this repository and believe that this is not a duplicate.
Summary 💡
I’m implementing Material UI in Next.js v10 using the examples from the same Material UI repository, but I can’t understand the reason for using the emotion
library, I know it’s to create a css cache, but why is this necessary? ?
In the documentation there is nothing about it and I think it should indicate why the use of emotion
.
Examples 🌈
In the documentation there is nothing about it and I think it should indicate why the use of emotion
.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Add in the documentation what emotion is used for in ... - GitHub
I'm implementing Material UI in Next.js v10 using the examples from the same Material UI repository, but I can't understand the reason for ......
Read more >Server Side Rendering - Emotion
To use emotion's SSR with Next.js you need a custom Document component in pages/_document.js that renders the styles and inserts them into the...
Read more >Advanced Features: Next.js Compiler
Learn about the Next.js Compiler, written in Rust, which transforms and minifies your Next.js application.
Read more >Next.js 11 setup with Material UI Version 5 | Part 1 - Emotion
Some of our favorite libraries have gone through some major upgrade versions. In this video, I look at how to set up the...
Read more >Next.Js + MUI v5 tutorial - DEV Community
Step two: Installing emotion. as the MUI docs says: The default style library used for generating CSS styles for MUI components is emotion....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@mnajdova I get it! and of course there was a confusion with the versions of the documentation.
In the same way, the use of
emotion
is not very clear to me. Perhaps a couple of lines could be added to the Installation page commenting on why its use? Or a full page to document about this new integration in v5, because I couldn’t find it in the documentation.And for those who come to the Next examples template, maybe indicate that emotion is not something for next but rather Material UI with a link to the documentation that I think it should have.
And finally thank you very much for the clarification 😁😁
Agreed. Our examples should be overly verbose with technical decisions. Whether this happens in the readme or code is not important to me.