You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Facing this issue only when upgrading the react version from 17 to 18.
Current behavior:
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)."
Please always try to share a repro case in a runnable form - either by providing a git repository to clone or a codesandbox. OSS maintainers usually can't afford the time to set up the repro, even if exact steps are given.
Please always try to share a repro case in a runnable form - either by providing a git repository to clone or a codesandbox. OSS maintainers usually can't afford the time to set up the repro, even if exact steps are given.
@Andarist Do we have an update on this ? I’m currently blocked because of it and need to proceed with my work. Let me know if any further details are required from my end. Thanks!
Please always try to share a repro case in a runnable form - either by providing a git repository to clone or a codesandbox. OSS maintainers usually can't afford the time to set up the repro, even if exact steps are given.
Facing this issue only when upgrading the react version from 17 to 18.
Current behavior:
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)."
import { jsx /* css */ } from "@emotion/react";
export const railnavMenuWrapper = css
<some css & rules> ``<div css={railnavMenuWrapper}></div>
Expected behavior:
Should work smoothly without throwing any error or breaking the css.
Environment information:
react
version: 18.3.1@emotion/react
version: 11.8.node-version
: 22.14.0The text was updated successfully, but these errors were encountered: