btholt / btholt/complete-intro-to-react-v4
cant use import { css } from "@emotion/core";
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 238
- PR merge metrics
- No merged PRs in 30d
Description
cant use import { css } from "@emotion/core";
after chage to import { css } from "@emotion/react";
getting this error in html
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).
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the error with the two import forms shown in the issue and locating where the css result is passed into the React markup. Check the Emotion integration used by this project; the issue is done when the example renders without the object-stringification error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100