Skip to content

renderFromHTML #13

@thescientist13

Description

@thescientist13

Type of Change

  • New Feature Request

Summary

Would like to introduce an API where the entry point can be a fragment of HTML instead of a custom element (JS)

Details

For example

import { renderToHTML } from 'wcc';

const { html } = await renderToHTML(`
  <body>
    <wcc-header></wcc-header/>

    <h1>Welcome to the Home Page</h1>

    <wcc-footer></wcc-footer/>
  <body>
`;

Metadata

Metadata

Labels

0.1.0documentationImprovements or additions to the website and / or documentationfeatureNew feature or requestgood first issueGood for newcomers

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions