Skip to content
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

Server side rendering? #8

Closed
igorescobar opened this issue Apr 13, 2018 · 1 comment
Closed

Server side rendering? #8

igorescobar opened this issue Apr 13, 2018 · 1 comment

Comments

@igorescobar
Copy link

Hey guys!

Does this package support server-side rendering? We tried to use it on a project and it started to raise a bunch of errors like

Object.entries is not defined... Object.setProperty etc.. Any idea how to fix it without disabling server-side rendering?

The If helper works fine but when we imported the classNames helper it wasn't as expected.

Thanks and thanks for this. It's super helpful!

@sindresorhus
Copy link
Owner

Object.entries is not defined... Object.setProperty etc.. Any idea how to fix it without disabling server-side rendering?

Sounds like you're not using Node.js 8 or later, which is required, per package.json.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants