Learn Programming with me😇
Join me on my coding journey in this channel 🚀 I'll be sharing valuable resources, tech-related content.
إظهار المزيد- المشتركون
- التغطية البريدية
- ER - نسبة المشاركة
جاري تحميل البيانات...
جاري تحميل البيانات...
You
need to add a custom rule to your ESLint configuration to ignore the css prop used by Emotionso, add this to the of the rule section in eslint config
js 'react/no-unknown-property': ['error', { ignore: ['css'] }],
You need to add a custom rule to your ESLint configuration to ignore the css prop used by Emotion
According to Emotion docs, the standard way to use Emotion is with css prop of jsx components. For first time users, it's easy to miss out on the required pragma header and just add the css prop directly. In that case, this is what you will get: <div css="You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."> </div> To fix th
React content on DEV Community
An independent, reader-supported publication focusing on Linux Command Line, Server, Self-hosting, DevOps and Cloud Learning
RegExr is an online tool to learn, build, & test Regular Expressions (RegEx / RegExp).
تسمح خطتك الحالية بتحليلات لما لا يزيد عن 5 قنوات. للحصول على المزيد، يُرجى اختيار خطة مختلفة.