Created
July 22, 2020 16:56
-
-
Save kristoferjoseph/df64781767c7189ca2e9212b8755fdd2 to your computer and use it in GitHub Desktop.
Wishlist fot SSR html from tagged template literal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import html from 'super-cool-lib.js' | |
import child from './child.js' | |
export default function Parent(props) { | |
return html` | |
<x-parent> | |
<x-child></x-child> | |
</x-parent> | |
` | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As a component developer I want to be able to write reusable component templates that use JavaScript string template literals and author standard HTML.
This requires a parse step during server side render to figure out which web component class to send down with the rendered HTML.