Skip to content

Proof of Concept implementation for the new render to string algorithm.

License

Notifications You must be signed in to change notification settings

localvoid/ivi-ssr-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proof of Concept implementation for the new render to string algorithm.

API

function createBlueprint(node: VNode): BlueprintNode;
function render(state: RenderState, node: VNode, blueprint?: BlueprintNode): void;

Example

const blueprint = createBlueprint($h("div"));

const renderState = {
    result: "",
};

render(renderState, $h("div").children("Hello World"), blueprint);

About

Proof of Concept implementation for the new render to string algorithm.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published