Skip to content

allow SDK users to subscribe to changes #43

@barteksekula

Description

@barteksekula

Not sure if that's the right place and you are open to feedback right now, but just wanted to send you this idea:

Maybe instead of always running window.reload we could let users decide what they want to do?
Something like this https://github.com/episerver/cms-visual-builder-hello-world/blob/088ac8d34abb6408829c9d0165b506bdc9931abd/src/helpers/onContentSaved.ts#L34
instead of

?

I mean the SDK can be used in a server-side rendered app (nextjs, remix etc) but also in a traditional SPA.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions