Skip to content

Move to Sidechain for previews #33

@thomaswilburn

Description

@thomaswilburn

We don't want to transition our live NPR embeds to Sidechain just yet--there are multiple issues to deal with. But it would be beneficial to have a limited domain in which we start to test it, and it would also make the multi-page development setup smoother (because Sidechain listens and reacts to changes for its src attribute. Let's look at using Sidechain just to host the preview for now, as a step toward eventually using it on child pages as well, and then eventually on NPR.org.

Issues to address:

  • I don't think we use the Pym Loader extra features, but we should be prepared to shim them.
  • The parent page doesn't currently use the JS bundler, so it doesn't have access to Node modules, and we would need that.
  • Debugging needs to be solid in a shadow root.

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