developit / developit/preact-markup

ReferenceError: document is not defined. Server Side rendering does not seem to work.

Open
#6 2 comments 4 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
207
Forks
27
PR merge metrics
No merged PRs in 30d

Description

Hi

I am trying to use the Markup component while rendering server side with preact-render-to-string.
I get the following error: 'ReferenceError: document is not defined'

Could you suggest a work around?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.