Skip to content

Allowing passing additional context to the html function in spa mode #140

Open
@felixmosh

Description

@felixmosh

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the feature has not already been requested

🚀 Feature Proposal

Currently SPA mode doesn't allows to pass additional context to the render function.

Motivation

I have a case that I wan't to render some stuff on the html not related to the React app.

For example, render app version inside a meta tag.

Example

reply.html({
      version: env.BUILD_VERSION
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions