Skip to content

Is server side rendering is possible? #5

@balazsnemeth

Description

@balazsnemeth

Hi,

I integrated this component into a NextJS app, and when I reload it from the server, this is rendered:
Screenshot 2019-12-05 22 39 07

After further debug, it seems the class "progressCircleBar" is not applied on the circle. Also, checking the node modules bundle, I see rollup created a styleInject fn which has a if (!css || typeof document === 'undefined') { return; } return option. So I bet the current bounding does not support SSR, am I correct?

Do you have any hint if I fork the repo, then how can I manage to support SSR to push a Pull Request about this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions