-
Notifications
You must be signed in to change notification settings - Fork 561
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Class names being returned as [object Object]
as of v2.3.0
#240
Comments
Do you mean that the pipeline is mangling the resultant object's |
@BrianAtIgloo could you verify if |
Thank you for the quick reply + troubleshoot! I confirmed using |
Updated to use `hasOwnProperty` over trying to compare the Object prototype which fails with some build pipelines after transpilation. See issue JedWatson#240.
Updated to use `hasOwnProperty` over trying to compare the Object prototype which fails with some build pipelines after transpilation. See issue #240.
This is broken on classnames 2.3+, which can be pulled in via Renovate lock file maintenance. JedWatson/classnames#240
This is broken on classnames 2.3+, which can be pulled in via Renovate lock file maintenance. JedWatson/classnames#240
This is broken on classnames 2.3+, which can be pulled in via Renovate lock file maintenance. JedWatson/classnames#240
This is broken on classnames 2.3+, which can be pulled in via Renovate lock file maintenance. JedWatson/classnames#240
This is broken on classnames 2.3+, which can be pulled in via Renovate lock file maintenance. JedWatson/classnames#240
We're experiencing this issue because we're executing our render code in a Node VM, which means we actually have multiple Object globals in memory and the |
@markdalgleish hello, i'm getting same error when excute code with |
Fixed in #281 |
Hi, first off - thank you for maintaining this fantastic package!
That said, we've run into an issue with v
2.3.0
where our bundled components are now outputting[object Object]
class names because of this recent change to support a customtoString
fn.The problem only occurs after we run our code through our build pipeline which uses Rollup/Babel to produce a CJS bundle so we can render server-side.
Component Code:
Transpiled code:
We've locked our components to
2.2.6
to resolve the issue and suggest the following change:The text was updated successfully, but these errors were encountered: